mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[feature/controller] Correctly access user object
PHPBB3-10864
This commit is contained in:
@@ -115,7 +115,7 @@ class phpbb_controller_resolver implements ControllerResolverInterface
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new phpbb_controller_exception($user->lang('CONTROLLER_ARGUMENT_VALUE_MISSING', $param->getPosition() + 1, get_class($object) . ':' . $method, $param->name));
|
||||
throw new phpbb_controller_exception($this->user->lang('CONTROLLER_ARGUMENT_VALUE_MISSING', $param->getPosition() + 1, get_class($object) . ':' . $method, $param->name));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user