diff options
author | Simon Rettberg | 2020-03-06 11:12:05 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-03-06 11:12:05 +0100 |
commit | 2185378be40df3639b7a7ce6183e63401ca95e87 (patch) | |
tree | 0788614dfd28681cfc63503b70d34ee3b2466117 /modules-available/dozmod | |
parent | [runmode] Fix undefined variable access (diff) | |
download | slx-admin-2185378be40df3639b7a7ce6183e63401ca95e87.tar.gz slx-admin-2185378be40df3639b7a7ce6183e63401ca95e87.tar.xz slx-admin-2185378be40df3639b7a7ce6183e63401ca95e87.zip |
[dozmod] Remobe special section from menu
Diffstat (limited to 'modules-available/dozmod')
-rw-r--r-- | modules-available/dozmod/page.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/dozmod/page.inc.php b/modules-available/dozmod/page.inc.php index 57e5ca4c..cf6e4857 100644 --- a/modules-available/dozmod/page.inc.php +++ b/modules-available/dozmod/page.inc.php @@ -67,7 +67,7 @@ class Page_DozMod extends Page /* add sub-menus */ foreach ($this->validSections as $section) { - if (User::hasPermission($section . '.*')) { + if ($section !== 'special' && User::hasPermission($section . '.*')) { Dashboard::addSubmenu('?do=dozmod§ion=' . $section, Dictionary::translate('submenu_' . $section, true)); } } |