From cb1a6f33f40f17bf80a8ccabb7a7016b2386aaed Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Thu, 24 Mar 2022 12:48:37 +0800 Subject: [PATCH] fix(web): a35ab7bfdfad07eb99b121753ba6b51605961a37 --- web/app/controllers/contest_members.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/controllers/contest_members.php b/web/app/controllers/contest_members.php index 999fe98..11bbf70 100644 --- a/web/app/controllers/contest_members.php +++ b/web/app/controllers/contest_members.php @@ -71,7 +71,7 @@ global $contest; $group_id = $_POST['group_id']; - $users = DB::selectAll("select b.username as username, b.rating as rating from groups_users a inner join user_info b on a.username = b.username where a.group_id = $group_id"); + $users = DB::selectAll("select b.username as username from groups_users a inner join user_info b on a.username = b.username where a.group_id = $group_id"); foreach ($users as $user) { DB::query("replace into contests_registrants (username, contest_id, has_participated) values ('{$user['username']}', {$contest['id']}, 0)");