fix : lien billetterie hero — URL Mapado et bookingUrl corrigés
All checks were successful
Deploy / Deploy (push) Successful in 9s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-05-04 15:29:12 +02:00
parent 0afe0d19d5
commit 41da8ff773

View file

@ -51,9 +51,9 @@
<?php if ($schedule): ?>
<?php
if ($heroEvent->isMapadoEvent() == 'true') {
$bookingUrl = $heroEvent->url();
$bookingUrl = option('ticketingUrl') . 'event/' . $heroEvent->mapadoSlug();
} elseif ($heroEvent->bookingUrl()->isNotEmpty()) {
$bookingUrl = $heroEvent->bookingUrl()->url();
$bookingUrl = $heroEvent->bookingUrl()->value();
} else {
$bookingUrl = null;
}