fix : lien billetterie hero — URL Mapado et bookingUrl corrigés
All checks were successful
Deploy / Deploy (push) Successful in 9s
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:
parent
0afe0d19d5
commit
41da8ff773
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue