We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c05fad commit b998c50Copy full SHA for b998c50
1 file changed
interface/web/admin/users_edit.php
@@ -57,6 +57,14 @@ function onBeforeInsert() {
57
$app->tform->errorMessage .= $app->tform->wordbook['startmodule_err'];
58
}
59
60
+
61
+ function onBeforeUpdate() {
62
+ global $app, $conf;
63
64
+ if(!in_array($this->dataRecord['startmodule'],$this->dataRecord['modules'])) {
65
+ $app->tform->errorMessage .= $app->tform->wordbook['startmodule_err'];
66
+ }
67
68
69
70
0 commit comments