summaryrefslogtreecommitdiffstats
path: root/modules-available/dozmod
diff options
context:
space:
mode:
authorSimon Rettberg2020-03-06 11:12:05 +0100
committerSimon Rettberg2020-03-06 11:12:05 +0100
commit2185378be40df3639b7a7ce6183e63401ca95e87 (patch)
tree0788614dfd28681cfc63503b70d34ee3b2466117 /modules-available/dozmod
parent[runmode] Fix undefined variable access (diff)
downloadslx-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.php2
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&section=' . $section, Dictionary::translate('submenu_' . $section, true));
}
}