Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
Since 2.2.12 .. batch update users feature is broken due to this weird change at XF\Job\UserAction[CODE=php] $customTitle = $this->getActionValue('custom_title'); if ($customTitle !== '') { $user->custom_title = $customTitle; }[/CODE]where $customTitle will never be an empty string because the method getActionValue returns null for empty valuesThis sets user title to null and causes the user entity save process to fail silently at the method verifyCustomTitle where null will never equal empty string[CODE=php] if ($title !== $this->app()->stringFormatter()->censorText($title)) { $this->error(\XF::phrase('please_enter_custom_title_that_does_not_contain_any_censored_words'), 'custom_title'); return false; }[/CODE]
Since 2.2.12 .. batch update users feature is broken due to this weird change at XF\Job\UserAction
[CODE=php] $customTitle = $this->getActionValue('custom_title');
if ($customTitle !== '')
{
$user->custom_title = $customTitle;
}
[/CODE]
where $customTitle will never be an empty string because the method getActionValue returns null for empty values
$customTitle
getActionValue
null
This sets user title to null and causes the user entity save process to fail silently at the method verifyCustomTitle where null will never equal empty string
verifyCustomTitle
[CODE=php] if ($title !== $this->app()->stringFormatter()->censorText($title))
$this->error(\XF::phrase('please_enter_custom_title_that_does_not_contain_any_censored_words'), 'custom_title');
return false;
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences