summaryrefslogtreecommitdiffstats
path: root/modules-available/runmode
diff options
context:
space:
mode:
authorSimon Rettberg2018-02-07 14:30:28 +0100
committerSimon Rettberg2018-02-07 14:30:28 +0100
commit91cfd8710023456e4bf8928a6147e5ad5229040a (patch)
tree4beb68d1cfa5473e1366b3e74a95c3b4feddca67 /modules-available/runmode
parentMerge branch 'master' of dnbd3:openslx-ng/slx-admin (diff)
downloadslx-admin-91cfd8710023456e4bf8928a6147e5ad5229040a.tar.gz
slx-admin-91cfd8710023456e4bf8928a6147e5ad5229040a.tar.xz
slx-admin-91cfd8710023456e4bf8928a6147e5ad5229040a.zip
[runmode] Fix error message if generic editor is not allowed, allow dnbd3 editor
Diffstat (limited to 'modules-available/runmode')
-rw-r--r--modules-available/runmode/page.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/runmode/page.inc.php b/modules-available/runmode/page.inc.php
index b94b8a31..8feb097e 100644
--- a/modules-available/runmode/page.inc.php
+++ b/modules-available/runmode/page.inc.php
@@ -183,7 +183,7 @@ class Page_RunMode extends Page
Util::redirect($redirect);
}
if (!RunMode::getModuleConfig($moduleId)->allowGenericEditor) {
- Message::addError('runmode.cannot-edit-module', $module);
+ Message::addError('runmode.cannot-edit-module', $moduleId);
Util::redirect($redirect);
}
Render::addTemplate('machine-selector', [