aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2019-12-29 18:56:36 +0700
committerrxu <rxu@mail.ru>2019-12-29 18:56:36 +0700
commit80de9f6a68d7b50eb5387cdc2b99624484e75201 (patch)
treedfb76923a3cc418a35e391e8c8c58534c23d5551 /phpBB/mcp.php
parent94808e2cbc880aa16212aa24c7dd7e94bf511305 (diff)
downloadforums-80de9f6a68d7b50eb5387cdc2b99624484e75201.tar
forums-80de9f6a68d7b50eb5387cdc2b99624484e75201.tar.gz
forums-80de9f6a68d7b50eb5387cdc2b99624484e75201.tar.bz2
forums-80de9f6a68d7b50eb5387cdc2b99624484e75201.tar.xz
forums-80de9f6a68d7b50eb5387cdc2b99624484e75201.zip
[ticket/16277] Move from each() function
PHPBB3-16277
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index 6215a675b4..c8fb0233ff 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -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);