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; } }