mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 20:40:14 +01:00
fix for cached titles that are empty
This commit is contained in:
parent
a3685d298e
commit
2768366eb6
@ -632,7 +632,7 @@ class egw_link extends solink
|
|||||||
if (!$id) return '';
|
if (!$id) return '';
|
||||||
|
|
||||||
$title =& self::get_cache($app,$id);
|
$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";
|
if (self::DEBUG) echo '<p>'.__METHOD__."('$app','$id')='$title' (from cache)</p>\n";
|
||||||
return $title;
|
return $title;
|
||||||
|
Loading…
Reference in New Issue
Block a user