Fixed Undefined variable exception thrown when updating username change visibility

TickTackk

Well-known member
Affected version
2.2.0 RC2
Code:
ErrorException: [E_NOTICE] Undefined variable: updateLastVisibleChange in src/XF/Entity/UsernameChange.php at line 98

XF::handlePhpError() in src/XF/Entity/UsernameChange.php at line 98
XF\Entity\UsernameChange->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1266
XF\Mvc\Entity\Entity->save() in src/addons/<add-on id>/XF/Admin/Controller/Log.php at line 461
<add-on id>\XF\Admin\Controller\Log->actionUsernameChangetoggleVisibility() in src/XF/Mvc/Dispatcher.php at line 350
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2300
XF\App->run() in src/XF.php at line 464
XF::runApp() in admin.php at line 13
 
Back
Top Bottom