Minor - add validation

pull/3063/head
Julio 7 years ago
parent 1b21d74f79
commit ef53860f5a
  1. 5
      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];
}

Loading…
Cancel
Save