From 5e7b1d3fd682d7c00b6984cbf6a07be5a766885c Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Wed, 24 Jun 2009 15:13:19 +0000 Subject: [PATCH] little bugfix for the retrieval of images configured to load from vfs (vfs_imagedir) --- phpgwapi/inc/class.common.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.common.inc.php b/phpgwapi/inc/class.common.inc.php index 3c798d1bbb..a0ec97c651 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -861,7 +861,8 @@ class common { if (!egw_vfs::is_dir($vfs_imagedir.'/'.$entry)) { - if (list($type,$subtype) = explode('/',egw_vfs::mime_content_type($vfs_imagedir.'/'.$entry)) && $type == 'image') + list($type,$subtype) = explode('/',egw_vfs::mime_content_type($vfs_imagedir.'/'.$entry)); + if ($type == 'image') { self::$found_files['vfs'][$entry] = $vfs_imagedir; }