mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-24 22:21:34 +01:00
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)
|
if (!$no_permission_check)
|
||||||
{
|
{
|
||||||
// on install of a new egroupware both hook-apps and user apps may be empty/not set
|
// 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)
|
if ($order)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user