diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2020-09-07 11:34:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-07 11:34:06 +0200 |
commit | 3eb748fc39e24c57f2ba57ed4fd089dd746bdd61 (patch) | |
tree | 2388d93bc876bc92049f719807015a36dfc4314b | |
parent | 9093570c4afe154676c3320d80d11fa5dd7cc9b7 (diff) | |
parent | cb146c8486ea4c9b288c2e915b6c47fee2135f75 (diff) | |
download | nextcloud-server-3eb748fc39e24c57f2ba57ed4fd089dd746bdd61.tar.gz nextcloud-server-3eb748fc39e24c57f2ba57ed4fd089dd746bdd61.zip |
Merge pull request #22589 from nextcloud/bugfix/noid/allow-additional-personal-settings-via-normal-registration
Allow additional personal settings via normal registration
-rw-r--r-- | lib/private/Settings/Manager.php | 3 |
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'))]; } |