修复管理后台无法批量删除用户的问题

pull/516/head
yin 2025-11-27 10:51:41 +08:00
parent fdfca674cc
commit df20cff023
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class User extends Backend
}
} else {
$ids = explode(',', $ids);
if (!is_array($ids) || count($ids) == 0) {
if (!is_array($ids) || !$ids) {
$this->error(__('Invalid parameters'));
}
Db::startTrans();