Skip to content

Commit 8cc59ee

Browse files
author
Chris Gårdenberg
committed
fix(Booking form): Remove the global-declarations, it messed things up
1 parent 66b3dc5 commit 8cc59ee

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

content/template/bookingTemplate/event-selector.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<?php
2-
global $events;
3-
global $event;
42

53
$event_detail_setting = EDU()->get_option( 'eduadmin-date-eventDates-detail', 'default' );
64
$use_short = false;
@@ -26,7 +24,6 @@
2624
}
2725

2826
$first_event = true;
29-
3027
?><?php if ( count( $events ) > 1 ) : ?>
3128
<div class="dateSelectLabel">
3229
<?php echo esc_html_x( 'Select the event you want to book', 'frontend', 'eduadmin-booking' ); ?>

0 commit comments

Comments
 (0)