We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6d68c2 commit 62ff29cCopy full SHA for 62ff29c
interface/web/admin/users_edit.php
@@ -61,7 +61,7 @@ function onBeforeInsert() {
61
function onBeforeUpdate() {
62
global $app, $conf;
63
64
- if(!in_array($this->dataRecord['startmodule'],$this->dataRecord['modules'])) {
+ if(@is_array($this->dataRecord['modules']) && !in_array($this->dataRecord['startmodule'],$this->dataRecord['modules'])) {
65
$app->tform->errorMessage .= $app->tform->wordbook['startmodule_err'];
66
}
67
0 commit comments