From 2768366eb637cfd5cc61b9bb380123a1aa3a84b4 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Thu, 1 Jul 2010 11:14:48 +0000 Subject: [PATCH] fix for cached titles that are empty --- phpgwapi/inc/class.egw_link.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_link.inc.php b/phpgwapi/inc/class.egw_link.inc.php index 6abe2b5883..0369ec457b 100644 --- a/phpgwapi/inc/class.egw_link.inc.php +++ b/phpgwapi/inc/class.egw_link.inc.php @@ -632,7 +632,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 '

'.__METHOD__."('$app','$id')='$title' (from cache)

\n"; return $title;