aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-03-09 02:43:35 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-03-09 02:43:35 +0000
commitb8834051eb5d7d376e7c5a2be273decdd6c9b886 (patch)
tree3a5c5c7035feabceb6670d69755c4c79f6a31ce8 /phpBB/includes/functions.php
parent891c3d2a609e3f06aee8c834dba9aaa0129e6dcf (diff)
downloadforums-b8834051eb5d7d376e7c5a2be273decdd6c9b886.tar
forums-b8834051eb5d7d376e7c5a2be273decdd6c9b886.tar.gz
forums-b8834051eb5d7d376e7c5a2be273decdd6c9b886.tar.bz2
forums-b8834051eb5d7d376e7c5a2be273decdd6c9b886.tar.xz
forums-b8834051eb5d7d376e7c5a2be273decdd6c9b886.zip
- By default, new installations of magick add itself to PATH and not to a variable that it creates.
git-svn-id: file:///svn/phpbb/trunk@5611 89ea8834-ac86-4346-8a33-228a782c2dd0
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;
}