mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
fix php error when checking for undeletable user ids
This commit is contained in:
parent
e3cf72b3d2
commit
a7aa3ff904
|
@ -44,7 +44,7 @@ if (!is_object($rmuser)) {
|
|||
UI::exitError(getMLText("rm_user"),getMLText("invalid_user_id"));
|
||||
}
|
||||
|
||||
if(in_array($rmuser->getID(), explode(',', $settings->_undelUserIds))) {
|
||||
if(in_array($rmuser->getID(), $settings->_undelUserIds)) {
|
||||
UI::exitError(getMLText("rm_user"),getMLText("cannot_delete_user"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user