Explorar o código

Fix locations not being geocoded

Alan Lam %!s(int64=3) %!d(string=hai) anos
pai
achega
64f9602a45
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      views/components/address_fields.php

+ 2 - 2
views/components/address_fields.php

@@ -7,8 +7,8 @@ namespace App;
  */
  */
 
 
 if(!$address->hasGeolocation()) {
 if(!$address->hasGeolocation()) {
-	$latitude = 0;
-	$longitude = 0;
+	$latitude = "";
+	$longitude = "";
 }
 }
 else {
 else {
 	$latitude = $address->latitude;
 	$latitude = $address->latitude;