summaryrefslogtreecommitdiffstats
path: root/apps/dashboard/lib/Controller/DashboardController.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dashboard/lib/Controller/DashboardController.php')
-rw-r--r--apps/dashboard/lib/Controller/DashboardController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dashboard/lib/Controller/DashboardController.php b/apps/dashboard/lib/Controller/DashboardController.php
index bc6cd02abbc..63508f28c83 100644
--- a/apps/dashboard/lib/Controller/DashboardController.php
+++ b/apps/dashboard/lib/Controller/DashboardController.php
@@ -99,7 +99,8 @@ class DashboardController extends Controller {
$this->eventDispatcher->dispatchTyped(new RegisterWidgetEvent($this->dashboardManager));
- $userLayout = explode(',', $this->config->getUserValue($this->userId, 'dashboard', 'layout', 'recommendations,spreed,mail,calendar'));
+ $systemDefault = $this->config->getAppValue('dashboard', 'layout', 'recommendations,spreed,mail,calendar');
+ $userLayout = explode(',', $this->config->getUserValue($this->userId, 'dashboard', 'layout', $systemDefault));
$widgets = array_map(function (IWidget $widget) {
return [
'id' => $widget->getId(),