Skip to content

Commit 62ff29c

Browse files
committed
fixed: FS#595 - add cp user error
1 parent e6d68c2 commit 62ff29c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/admin/users_edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function onBeforeInsert() {
6161
function onBeforeUpdate() {
6262
global $app, $conf;
6363

64-
if(!in_array($this->dataRecord['startmodule'],$this->dataRecord['modules'])) {
64+
if(@is_array($this->dataRecord['modules']) && !in_array($this->dataRecord['startmodule'],$this->dataRecord['modules'])) {
6565
$app->tform->errorMessage .= $app->tform->wordbook['startmodule_err'];
6666
}
6767
}

0 commit comments

Comments
 (0)