1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 02:36:38 +02:00

[ticket/16277] Move from each() function

PHPBB3-16277
This commit is contained in:
rxu
2019-12-29 18:56:36 +07:00
parent 94808e2cbc
commit 80de9f6a68
10 changed files with 27 additions and 32 deletions

View File

@@ -61,7 +61,7 @@ if ($forum_action !== '' && $request->variable('sort', false, false, \phpbb\requ
if (count($action_ary))
{
list($action, ) = each($action_ary);
$action = key($action_ary);
}
unset($action_ary);