From 8a2a675b3706a9e03ecbb21abceb79102edca7cb Mon Sep 17 00:00:00 2001 From: shrykedude Date: Fri, 3 Oct 2003 02:01:21 +0000 Subject: [PATCH] expanded !$var check to use empty($var) --- phpgwapi/inc/class.common.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.common.inc.php b/phpgwapi/inc/class.common.inc.php index 47d6d80542..50fc66a5ab 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -975,7 +975,7 @@ } $image = $lang_images; } - while (!$image_found && list(,$img) = each($image)) + while (empty($image_found) && list(,$img) = each($image)) { if(isset($this->found_files[$appname][$img.$ext])) {