$cities 변수 없음 수정

This commit is contained in:
2018-04-19 00:04:30 +09:00
parent 91273522c0
commit c0ec82051f
+3
View File
@@ -1758,6 +1758,9 @@ function process_31(&$general) {
{ {
$cities = array_map('intval', explode("|", $nation['spy'])); $cities = array_map('intval', explode("|", $nation['spy']));
} }
else{
$cities = [];
}
$exist = 0; $exist = 0;
for($i=0; $i < count($cities); $i++) { for($i=0; $i < count($cities); $i++) {
if(intdiv($cities[$i], 10) == $destination) { if(intdiv($cities[$i], 10) == $destination) {