[RSS Feed/News] Batch update users broken in 2.2.12

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Since 2.2.12 .. bacth update users feature is broken due to this weired change at XF\Job\UserAction
PHP:

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

where $customTitle will always be null not empty value because the method getActionValue returns null for empty values
This sets user title to null and cause the user entity save process to fail silently...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom