Skip to content
Snippets Groups Projects
Unverified Commit cb146c84 authored by Joas Schilling's avatar Joas Schilling
Browse files

Allow additional personal settings via normal registration

parent 24d1d93d
No related branches found
No related tags found
No related merge requests found
......@@ -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'))];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment