forked from extern/egroupware
quietened PHP Warning: array_keys() expects parameter 1 to be array, null given on line 106
This commit is contained in:
parent
9c82896a7b
commit
4f54abdda2
@ -103,7 +103,7 @@ class hooks
|
||||
if (!$no_permission_check)
|
||||
{
|
||||
// on install of a new egroupware both hook-apps and user apps may be empty/not set
|
||||
$apps = array_intersect((array)$apps,(array)array_keys($GLOBALS['egw_info']['user']['apps']));
|
||||
$apps = array_intersect((array)$apps,array_keys((array)$GLOBALS['egw_info']['user']['apps']));
|
||||
}
|
||||
if ($order)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user