Commit b998c509 authored by tbrehm's avatar tbrehm

Fixed: FS#527 - Client can have a module for Startmodule even if it is disabled

parent 2c05fad7
......@@ -57,6 +57,14 @@ class page_action extends tform_actions {
$app->tform->errorMessage .= $app->tform->wordbook['startmodule_err'];
}
}
function onBeforeUpdate() {
global $app, $conf;
if(!in_array($this->dataRecord['startmodule'],$this->dataRecord['modules'])) {
$app->tform->errorMessage .= $app->tform->wordbook['startmodule_err'];
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment