mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +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)
|
foreach($order as $appname)
|
||||||
{
|
{
|
||||||
$results[$appname] = $this->single($args,$appname,$no_permission_check);
|
$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 */
|
/* Then add the rest */
|
||||||
|
Loading…
Reference in New Issue
Block a user