mirror of https://gitee.com/karson/fastadmin.git
修复管理后台无法批量删除用户的问题
parent
fdfca674cc
commit
df20cff023
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue