aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 1949b5f6c4..d474505eff 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -161,7 +161,8 @@ if (!function_exists('array_combine'))
$values = array_values($values);
$n = sizeof($keys);
- if (!$n || !sizeof($values) || ($n != sizeof($values)))
+ $m = sizeof($values);
+ if (!$n || !$m || ($n != $m))
{
return false;
}