diff options
author | Simon Rettberg | 2017-05-04 10:59:16 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-05-04 10:59:16 +0200 |
commit | 4c54b2e4595da93d5b12c843f27bb557c5ef333a (patch) | |
tree | b9804943c70fa55d51aafa1187425c4a9b2d556a /modules-available/dozmod | |
parent | [exams] Initialize class members of page (diff) | |
download | slx-admin-4c54b2e4595da93d5b12c843f27bb557c5ef333a.tar.gz slx-admin-4c54b2e4595da93d5b12c843f27bb557c5ef333a.tar.xz slx-admin-4c54b2e4595da93d5b12c843f27bb557c5ef333a.zip |
[dozmod] Check for subPage before doing general handling
Diffstat (limited to 'modules-available/dozmod')
-rw-r--r-- | modules-available/dozmod/page.inc.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules-available/dozmod/page.inc.php b/modules-available/dozmod/page.inc.php index 9635aef1..ece89f34 100644 --- a/modules-available/dozmod/page.inc.php +++ b/modules-available/dozmod/page.inc.php @@ -32,6 +32,12 @@ class Page_DozMod extends Page Util::redirect('?do=Main'); } + $this->setupSubPage(); + if ($this->subPage !== false) { + $this->subPage->doPreprocess(); + return; + } + /* execute actions */ $action = Request::post('action', false, 'string'); @@ -56,12 +62,6 @@ class Page_DozMod extends Page Dashboard::addSubmenu('?do=dozmod§ion=runtimeconfig', Dictionary::translate('submenu_runtime', true)); Dashboard::addSubmenu('?do=dozmod§ion=users', Dictionary::translate('submenu_users', true)); Dashboard::addSubmenu('?do=dozmod§ion=actionlog', Dictionary::translate('submenu_actionlog', true)); - - $this->setupSubPage(); - if ($this->subPage !== false) { - $this->subPage->doPreprocess(); - return; - } } protected function doRender() |