fix for cached titles that are empty

This commit is contained in:
Klaus Leithoff 2010-07-01 11:16:26 +00:00
parent 753138536b
commit 0c678f50a9

View File

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