1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-24 02:21:43 +02:00

[ticket/14285] Use request object instead of globals

PHPBB3-14285
This commit is contained in:
Rubén Calvo
2018-09-23 23:46:59 +02:00
committed by rubencm
parent b1b29cd692
commit ff7c44165d

View File

@@ -28,7 +28,7 @@ $auth->acl($user->data);
/** @var \phpbb\controller\helper $controller_helper */
$controller_helper = $phpbb_container->get('controller.helper');
if (isset($_GET['avatar']))
if ($request->is_set('avatar'))
{
$response = new RedirectResponse(
$controller_helper->route('phpbb_storage_avatar', array(