Эх сурвалжийг харах

Fix locations not being geocoded

Alan Lam 3 жил өмнө
parent
commit
64f9602a45

+ 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;