dever 3 년 전
부모
커밋
f698ee3a80
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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']);
 		}
 	}