mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
Fix behavior when defaultapp is empty
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
b11eb9e6d6
commit
8049702413
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue