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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user