Julio 6 роки тому
батько
коміт
ef53860f5a
1 змінених файлів з 5 додано та 0 видалено
  1. 5 0
      tests/scripts/update_geolocation_coordinates.php

+ 5 - 0
tests/scripts/update_geolocation_coordinates.php

@@ -80,6 +80,11 @@ function getCoordinates($address)
         return false;
     }
 
+    // ignore one letter fields
+    if (strlen($address) == 1) {
+        return false;
+    }
+
     if (isset($list[$address])) {
         return $list[$address];
     }