mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
[ticket/14285] Use request object instead of globals
PHPBB3-14285
This commit is contained in:
parent
b1b29cd692
commit
ff7c44165d
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ $auth->acl($user->data);
|
||||||
/** @var \phpbb\controller\helper $controller_helper */
|
/** @var \phpbb\controller\helper $controller_helper */
|
||||||
$controller_helper = $phpbb_container->get('controller.helper');
|
$controller_helper = $phpbb_container->get('controller.helper');
|
||||||
|
|
||||||
if (isset($_GET['avatar']))
|
if ($request->is_set('avatar'))
|
||||||
{
|
{
|
||||||
$response = new RedirectResponse(
|
$response = new RedirectResponse(
|
||||||
$controller_helper->route('phpbb_storage_avatar', array(
|
$controller_helper->route('phpbb_storage_avatar', array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue