1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2025-03-12 05:58:51 +01:00

quietened PHP Warning: array_keys() expects parameter 1 to be array, null given on line 106

This commit is contained in:
Ralf Becker 2011-08-11 07:32:20 +00:00
parent d8dae17192
commit dcb3ea0888

View File

@ -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)
{