mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix for methode-hooks with no return-value
This commit is contained in:
parent
8d77552935
commit
cef302db7b
@ -77,6 +77,11 @@
|
||||
foreach($order as $appname)
|
||||
{
|
||||
$results[$appname] = $this->single($args,$appname,$no_permission_check);
|
||||
|
||||
if (!isset($results[$appname])) // happens if the methode hook has no return-value
|
||||
{
|
||||
$results[$appname] = False;
|
||||
}
|
||||
}
|
||||
|
||||
/* Then add the rest */
|
||||
|
Loading…
Reference in New Issue
Block a user