1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 04:04:12 +02:00

Merge pull request #5798 from rxu/ticket/16277

[ticket/16277] Move from each() function
This commit is contained in:
Marc Alexander
2020-01-01 16:35:42 +01:00
10 changed files with 29 additions and 32 deletions

View File

@@ -44,7 +44,7 @@ class mcp_logs
if (is_array($action))
{
list($action, ) = each($action);
$action = key($action);
}
else
{

View File

@@ -42,7 +42,7 @@ class mcp_notes
if (is_array($action))
{
list($action, ) = each($action);
$action = key($action);
}
$this->page_title = 'MCP_NOTES';

View File

@@ -41,7 +41,7 @@ class mcp_warn
if (is_array($action))
{
list($action, ) = each($action);
$action = key($action);
}
$this->page_title = 'MCP_WARN';