diff --git a/lib/private/App/AppManager.php b/lib/private/App/AppManager.php index 9d07000c6f8..ccbb2143133 100644 --- a/lib/private/App/AppManager.php +++ b/lib/private/App/AppManager.php @@ -826,6 +826,7 @@ class AppManager implements IAppManager { // Set fallback to always-enabled files app $appId = 'files'; $defaultApps = explode(',', $this->config->getSystemValueString('defaultapp', '')); + $defaultApps = array_filter($defaultApps); $user ??= $this->userSession->getUser();