dever %!s(int64=3) %!d(string=hai) anos
pai
achega
f698ee3a80
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/shop/src/Buy.php

+ 1 - 1
app/shop/src/Buy.php

@@ -27,7 +27,7 @@ class Buy extends Core
 		$lng = Dever::input('lng');
 		$lat = Dever::input('lat');
 		if ($lng && $lat) {
-			$this->shop['distance'] = Dever::distance($lng, $lat, $shop['lng'], $shop['lat']);
+			$this->shop['distance'] = Dever::distance($lng, $lat, $this->shop['lng'], $this->shop['lat']);
 		}
 	}