mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +01:00
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
e7bb55dca9
commit
7d1bfd6eee
@ -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'];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user