diff --git a/api/src/Storage/Merge.php b/api/src/Storage/Merge.php index 68dd084b11..94f019af90 100644 --- a/api/src/Storage/Merge.php +++ b/api/src/Storage/Merge.php @@ -1752,7 +1752,7 @@ abstract class Merge break; default: $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; }