diff --git a/app/controllers/profilemodules.php b/app/controllers/profilemodules.php
index 607a798009e4697e1ba988a2a7988a7ab88083de..201c4ffaab2ad975445ea8617ad43c80a0889f4f 100644
--- a/app/controllers/profilemodules.php
+++ b/app/controllers/profilemodules.php
@@ -54,16 +54,14 @@ class ProfileModulesController extends AuthenticatedController
 
     private function getConfig()
     {
-        $config = $GLOBALS['user']->cfg->PLUS_SETTINGS;
-        if (!$config || !isset($config['profile_plus'])) {
-            return [
-                'view'         => 'openall',
-                'displaystyle' => 'category',
-                'hidden'       => [],
-            ];
-        }
+        $default = [
+            'view'         => 'openall',
+            'displaystyle' => 'category',
+            'hidden'       => [],
+        ];
 
-        return array_merge(['hidden' => []], $config['profile_plus']);
+        $config = $GLOBALS['user']->cfg->PLUS_SETTINGS;
+        return array_merge($default, $config['profile_plus'] ?? []);
     }
 
     private function storeConfig(array $config)