rabin %!s(int64=3) %!d(string=hai) anos
pai
achega
5632df3754
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/Api.php

+ 3 - 0
src/Api.php

@@ -251,6 +251,9 @@ class Api
 
         if (isset($temp[2]) && $temp[2] && $county) {
             $data = array();
+            if (strstr($temp[2], '000000')) {
+                $temp[2] = str_replace('000000', '', $temp[2]);
+            }
             $data['id'] = $temp[2];
             $data['clear'] = true;
             $county_info = Dever::db('area/county')->one($data);