fix bug
This commit is contained in:
@@ -94,9 +94,10 @@ class Donation
|
||||
foreach ($list as $vo) {
|
||||
$StudentIds[] = $vo["student_id"];
|
||||
}
|
||||
if (empty($UserIds)) {
|
||||
if (empty($StudentIds)) {
|
||||
return [];
|
||||
}
|
||||
print_r($StudentIds);
|
||||
$StudentIds = array_unique($StudentIds);
|
||||
$getAllStudentsMessage = [];
|
||||
$UserLists = Db::name("student")->where("id", "IN",$StudentIds)->field("nickname")->select()->toArray();
|
||||
|
||||
Reference in New Issue
Block a user