Edit form needs to set hidden field for other_ref_dest if venues are
off.
Front page fix for when to stop getting next end date.
$event_count = 0;
do {
$event_count = $this->getEventCountForWeekRange( ++$weeks_to_check );
- } while ( $event_count <= $total_events_wanted && $total_current_events >= $total_events_wanted );
+ flush;
+ } while ( $event_count <= $total_events_wanted && $total_current_events > $total_events_wanted );
$week_string = ( $weeks_to_check === 1 ) ? 'weeks': 'week';
$toDate = date('m/d/Y', strtotime( '+ ' . $weeks_to_check . ' ' . $week_string ));
<!-- New city hidden input fields go here -->
<span id="newCityNames"></span>
+{if !$settings.use_venue_locations}
+ <input type="hidden" name="other_ref_dest" value="0">
+{/if}
<table id="glm-table-location" class="glm-admin-table glm-hidden glm-event-table">
<tr>
<td id="placeLocationDeletesHere" colspan="2">