diff --git a/src/Controller/OfferController.php b/src/Controller/OfferController.php index 4d68277..deb8641 100644 --- a/src/Controller/OfferController.php +++ b/src/Controller/OfferController.php @@ -77,7 +77,7 @@ class OfferController extends AbstractController #[Route('/offer/{id}', name: 'show_offer')] public function showOffer(Offering $offer, WishRepository $wishRepository, PlzToCoordinate $plzconverter, DistanceCalculator $distanceCalculator): Response { - $distance = 0; + $distance = null; $user = $this->getUser(); $offerPlz = $offer->getZipCode();