aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_convert.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/includes/functions_convert.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/includes/functions_convert.php')
-rw-r--r--phpBB/includes/functions_convert.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php
index df4c9b1875..96e108792d 100644
--- a/phpBB/includes/functions_convert.php
+++ b/phpBB/includes/functions_convert.php
@@ -1209,7 +1209,8 @@ function get_config()
if (is_array($convert->config_schema['table_format']))
{
$convert_config = array();
- list($key, $val) = each($convert->config_schema['table_format']);
+ $key = key($convert->config_schema['table_format']);
+ $val = current($convert->config_schema['table_format']);
do
{