forked from extern/egroupware
dont use the titlecache if id is an array
This commit is contained in:
parent
29a622e641
commit
1f8068eb52
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user