From 585667dfe86164d4189b03ee52dec513f87fe911 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sat, 26 Mar 2022 17:01:59 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=86=A0=EB=84=88=EB=A8=BC=ED=8A=B8=20?= =?UTF-8?q?=EC=B0=B8=EA=B0=80=EC=8B=9C=20=ED=95=9C=EC=AA=BD=20=EC=8A=AC?= =?UTF-8?q?=EB=A1=AF=EC=9D=B4=20=EA=B0=80=EB=93=9D=20=EC=B0=A8=EB=A9=B4=20?= =?UTF-8?q?=EC=9E=85=EC=9E=A5=EC=9D=B4=20=EB=8B=AB=ED=9E=88=EB=8A=94=20?= =?UTF-8?q?=EB=B2=84=EA=B7=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/c_tournament.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/c_tournament.php b/hwe/c_tournament.php index 44d1410d..e34cc19a 100644 --- a/hwe/c_tournament.php +++ b/hwe/c_tournament.php @@ -98,8 +98,8 @@ if($btn == '참가') { ], 'no=%i', $general['no']); } - $grpCount = $db->queryFirstField('SELECT count(*) FROM tournament where grp<10 GROUP BY grp HAVING count(*)=8'); - if($grpCount >= 8) { + $grpCount = $db->queryFirstColumn('SELECT count(grp) FROM tournament where grp<10 GROUP BY grp;'); + if(min($grpCount) >= 8) { $gameStor->tournament = 2; $gameStor->phase = 0; }