diff --git a/phpgwapi/inc/class.common.inc.php b/phpgwapi/inc/class.common.inc.php index 9bb19a69b2..6479d19103 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -924,9 +924,13 @@ class common $app_map[$name] = egw_vfs::download_url($img); } } - egw_cache::setInstance(__CLASS__, $cache_name, $map, 86400); // cache for one day + } + else if ($dir) + { + return $map; } //error_log(__METHOD__."('$template_set') took ".(microtime(true)-$starttime).' secs'); + egw_cache::setInstance(__CLASS__, $cache_name, $map, 86400); // cache for one day //echo "
template_set=".array2string($template_set)."
\n"; _debug_array($map); return $map; }