Fix issue when no apps are enabled
Properly initialize $apps array
This commit is contained in:
parent
6aa8693198
commit
a32eac1477
1 changed files with 1 additions and 0 deletions
|
@ -172,6 +172,7 @@ class OC_App {
|
|||
if (!$forceRefresh && !empty(self::$enabledAppsCache)) {
|
||||
return self::$enabledAppsCache;
|
||||
}
|
||||
$apps = array();
|
||||
$appConfig = \OC::$server->getAppConfig();
|
||||
$appStatus = $appConfig->getValues(false, 'enabled');
|
||||
$user = \OC_User::getUser();
|
||||
|
|
Loading…
Reference in a new issue