부대가 없더라도 부대 가입 버튼이 뜨는 버그 해결
This commit is contained in:
+3
-1
@@ -123,7 +123,9 @@ for($i=0; $i < $troopcount; $i++) {
|
||||
}
|
||||
}
|
||||
|
||||
if($me['troop'] == 0) {
|
||||
if ($troopcount == 0) {
|
||||
}
|
||||
else if($me['troop'] == 0) {
|
||||
echo"
|
||||
<input type=submit name=btn value='부 대 가 입'>";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user