forked from extern/egroupware
fix PHP 8.0 TypeError: array_keys(): Argument #1 ($array) must be of type array, null given
This commit is contained in:
parent
11e630da2a
commit
be1920b687
@ -1752,7 +1752,7 @@ abstract class Merge
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$app = str_replace('_merge', '', get_class($this));
|
$app = str_replace('_merge', '', get_class($this));
|
||||||
if(!in_array($app, array_keys($GLOBALS['egw_info']['apps'])))
|
if(!in_array($app, array_keys($GLOBALS['egw_info']['apps'] ?? [])))
|
||||||
{
|
{
|
||||||
$app = false;
|
$app = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user