summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2020-03-06 11:12:05 +0100
committerSimon Rettberg2020-05-07 12:38:19 +0200
commit4dcc54862be916d43016cd2e818514cbebf9a1fd (patch)
tree0788614dfd28681cfc63503b70d34ee3b2466117
parent[runmode] Fix undefined variable access (diff)
downloadslx-admin-4dcc54862be916d43016cd2e818514cbebf9a1fd.tar.gz
slx-admin-4dcc54862be916d43016cd2e818514cbebf9a1fd.tar.xz
slx-admin-4dcc54862be916d43016cd2e818514cbebf9a1fd.zip
[dozmod] Remobe special section from menu
-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));
}
}