diff --git a/sources/AppBundle/Event/Ticket/SponsorTokenMail.php b/sources/AppBundle/Event/Ticket/SponsorTokenMail.php index 0e00ec037..95fbf89d8 100644 --- a/sources/AppBundle/Event/Ticket/SponsorTokenMail.php +++ b/sources/AppBundle/Event/Ticket/SponsorTokenMail.php @@ -77,7 +77,7 @@ public function sendNotification(SponsorTicket $sponsorTicket, $lastCall = false ['eventSlug' => $event->getPath()], UrlGeneratorInterface::ABSOLUTE_URL ), - '%endDate%' => $event->getDateEndSales()->format('d/m/Y') + '%endDate%' => $event->getDateEndSalesSponsorToken()->format('d/m/Y') ] );