aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Settings/Manager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Settings/Manager.php b/lib/private/Settings/Manager.php
index b775e364c39..93291de6bfd 100644
--- a/lib/private/Settings/Manager.php
+++ b/lib/private/Settings/Manager.php
@@ -261,7 +261,8 @@ class Manager implements IManager {
$sections = [];
$legacyForms = \OC_App::getForms('personal');
- if (!empty($legacyForms) && $this->hasLegacyPersonalSettingsToRender($legacyForms)) {
+ if ((!empty($legacyForms) && $this->hasLegacyPersonalSettingsToRender($legacyForms))
+ || count($this->getPersonalSettings('additional')) > 1) {
$sections[98] = [new Section('additional', $this->l->t('Additional settings'), 0, $this->url->imagePath('core', 'actions/settings-dark.svg'))];
}