From b8834051eb5d7d376e7c5a2be273decdd6c9b886 Mon Sep 17 00:00:00 2001 From: David M Date: Thu, 9 Mar 2006 02:43:35 +0000 Subject: - 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 --- phpBB/includes/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/functions.php') 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; } -- cgit v1.2.1