forked from extern/egroupware
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:
parent
94b69703e4
commit
237e8ce9f9
@ -724,7 +724,7 @@ class egw_link extends solink
|
|||||||
if ($app == '' || !is_array($reg = self::$app_register[$app]) || !isset($reg['title']))
|
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";
|
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'];
|
$method = $reg['title'];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user