diff options
Diffstat (limited to 'modules-available/runmode/page.inc.php')
-rw-r--r-- | modules-available/runmode/page.inc.php | 2 |
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', [ |