Lukas W.
Well-known member
- Affected version
- 2.2.8
XF\Pub\Controller\Register
Line 172 calls $this->assertBoardActive(null);
, however the function call implicitly expects the first parameter to never be null, since it is run through strtolower
before being passed on to the parent, which accepts null as value again.
Code:
public function assertBoardActive($action)
{
switch (strtolower($action))
{
case 'connectedaccount':
break;
default:
parent::assertBoardActive($action);
}
}