dont use the outcome of titlecache (break) if id is an array

This commit is contained in:
Klaus Leithoff 2009-03-09 11:07:22 +00:00
parent 5d6bc0d0b3
commit 7d2491678d

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();