dever преди 3 години
родител
ревизия
d24975794a
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/Address.php

+ 2 - 2
src/Address.php

@@ -79,14 +79,14 @@ class Address  extends Base
                 $data['province_name'] = $temp[0] . '市';
                 $city = '';
                 unset($temp[0]);
-                $city = implode('', $temp);
+                $city = implode('', $temp);
             } elseif (strstr($data['address'], '区')) {
                 $temp = explode('区', $data['address']);
                 $data['province_name'] = $temp[0] . '区';
 
                 $city = '';
                 unset($temp[0]);
-                $city = implode('', $temp);
+                $city = implode('', $temp);
             }
 
             if (strstr($city, '市')) {