Skip to content

Commit 8bb0daa

Browse files
committed
fix events tickets
1 parent f8a6407 commit 8bb0daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/muzyka21/templates/gutenberg-blocks/block-event-price.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<h4>Событие завершено</h4>
2727
<p>Это событие уже закончилось и билеты не продаются</p>
2828
</div>
29-
<?php } else if (isset($datestart) && (time() + (60 * 60 * 5)) > $datestart->getTimestamp()) { ?>
29+
<?php } else if (isset($datestart) && !isset($dateend) && (time() + (60 * 60 * 5)) > $datestart->getTimestamp()) { ?>
3030
<div class="event-price_flex_price_option splide__slide">
3131
<h4>Событие завершено</h4>
3232
<p>Это событие уже закончилось и билеты не продаются</p>

0 commit comments

Comments
 (0)