dont use the titlecache if id is an array

This commit is contained in:
Klaus Leithoff 2009-03-06 12:28:39 +00:00
parent 29a622e641
commit 1f8068eb52

View File

@ -545,7 +545,7 @@ class egw_link extends solink
if (!$id) return '';
$title =& self::get_cache($app,$id);
if (isset($title))
if (isset($title) && !is_array($id))
{
if (self::DEBUG) echo '<p>'.__METHOD__."('$app','$id')='$title' (from cache)</p>\n";
return $title;
@ -1089,4 +1089,4 @@ class egw_link extends solink
return !!($cache & $required);
}
}
egw_link::init_static();
egw_link::init_static();