From 4823795c506d5564a805c4f8fdf1aa07565a6935 Mon Sep 17 00:00:00 2001 From: hide_d Date: Mon, 21 May 2018 01:47:36 +0900 Subject: [PATCH] =?UTF-8?q?=ED=86=A0=EB=84=88=EB=A8=BC=ED=8A=B8=20'?= =?UTF-8?q?=ED=88=AC=EC=9E=85'=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/c_tournament.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/c_tournament.php b/hwe/c_tournament.php index a91243b8..7eb695a5 100644 --- a/hwe/c_tournament.php +++ b/hwe/c_tournament.php @@ -161,7 +161,7 @@ if($btn == "자동개최설정") { } $map = []; for($i=0; $i < 8; $i++) { - if($occupied[$i] == 0) { + if(!isset($occupied[$i]) || $occupied[$i] == 0) { $map[] = $i; } }