diff --git a/hwe/func_process.php b/hwe/func_process.php index 12c049b1..0b91c39a 100644 --- a/hwe/func_process.php +++ b/hwe/func_process.php @@ -1758,6 +1758,9 @@ function process_31(&$general) { { $cities = array_map('intval', explode("|", $nation['spy'])); } + else{ + $cities = []; + } $exist = 0; for($i=0; $i < count($cities); $i++) { if(intdiv($cities[$i], 10) == $destination) {