Fixed Moderator log repository does not correctly instantiate handlers

Jeremy P

XenForo developer
Staff member
Affected version
2.0.6a
Both \XF\Repository\ModeratorLog::getModeratorLogHandlers() and \XF\Repository\ModeratorLog::getModeratorLogHandler() fail to pass the content type required by the constructors of the handler classes when instantiating them.

Too few arguments to function XF\ModeratorLog\AbstractHandler::__construct(), 0 passed and exactly 1 expected in src/XF/ModeratorLog/AbstractHandler.php on line 12
 
Back
Top Bottom