fix assumed typo for returnvalue on error in function title; defined/described as boolean/string but was array for one error case

This commit is contained in:
Klaus Leithoff 2012-01-06 12:55:41 +00:00
parent e7bb55dca9
commit 7d1bfd6eee

View File

@ -724,7 +724,7 @@ class egw_link extends solink
if ($app == '' || !is_array($reg = self::$app_register[$app]) || !isset($reg['title']))
{
if (self::DEBUG) echo "<p>".__METHOD__."('$app','$id') something is wrong!!!</p>\n";
return array();
return false; //array(); // not sure why it should return an array on failure, as the description states boolean/string
}
$method = $reg['title'];