정적 분석 결과 반영

This commit is contained in:
2018-04-06 23:18:42 +09:00
parent 0639fc3b83
commit cfb2a2dbd5
14 changed files with 197 additions and 146 deletions
+3 -3
View File
@@ -97,9 +97,9 @@ if($me['level'] == 0) {
if($myNation['level'] > 0) {
// 첩보도시도 목록에 추가
$where = 'city=0';
$citys = explode("|", $myNation['spy']);
for($i=0; $i < count($citys); $i++) {
$city = floor($citys[$i]/10);
$cities = explode("|", $myNation['spy']);
for($i=0; $i < count($cities); $i++) {
$city = floor($cities[$i]/10);
$where .= " or city='{$city}'";
}