From ba88fcbd9a4cb66ecbd1d6efadf1fc61795094b9 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 18 May 2009 12:02:45 +0000 Subject: [PATCH] fixing caching of images, if image is an array --- 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 caf24d4a6b..702404b442 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -938,7 +938,7 @@ class common { static $cache; // do some caching in the request - $image_found =& $cache[$appname.$image.$ext.$use_lang]; + $image_found =& $cache[$appname.implode('-',(array)$image).$ext.$use_lang]; if (!isset($image_found)) {