[feature/controller] Correctly access user object

PHPBB3-10864
This commit is contained in:
David King 2012-11-16 10:27:55 -05:00
parent 74bc460493
commit 120267e580

View file

@ -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));
}
}