RSS Feed/News Batch update users broken in 2.2.12

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,639
Points
823

Reputation:

Since 2.2.12 .. batch update users feature is broken due to this weird change at XF\Job\UserAction
PHP:

Code:
        $customTitle = $this->getActionValue('custom_title');
        if ($customTitle !== '')
        {
            $user->custom_title = $customTitle;
        }

where $customTitle will never be an empty string because the method getActionValue returns null for empty values
This sets user title to null and causes the user entity save process to fail silently...

Read more

Continue reading...
 
Status
Not open for further replies.
Top