diff --git a/script/linedata/auto_format.php b/script/linedata/auto_format.php index cbfff9b..3847202 100644 --- a/script/linedata/auto_format.php +++ b/script/linedata/auto_format.php @@ -343,15 +343,16 @@ function ip_repeat(&$record, $ip, $dns = '') function city_exist($citys, $city) { - for ($i = 2; $i < 100; $i++) { - if (in_array($city, $citys)) { - if (in_array($city . $i, $citys)) { - continue; - } else { - return $city . $i; - } - } else { - return $city; - } - } + return $city; + // for ($i = 2; $i < 100; $i++) { + // if (in_array($city, $citys)) { + // if (in_array($city . $i, $citys)) { + // continue; + // } else { + // return $city . $i; + // } + // } else { + // return $city; + // } + // } }