Skip to content

Commit

Permalink
date. gmdate. Whatever; it's just a default value.
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Dec 18, 2023
1 parent c1be5db commit 314566b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mt-processing.php
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ function mt_prices_table( $registration = array() ) {
$available = "<input type='hidden' name='mt_tickets[]' id='mt_tickets_$label' value='inherit' />";
}
if ( $label ) {
$date = ( '' !== $options['label'] ) ? $options['label'] : date( 'Y-m-d' );
$date = ( '' !== $options['label'] ) ? $options['label'] : gmdate( 'Y-m-d' );
$args = array(
'id' => "mt_label_$label",
'name' => 'mt_label[]',
Expand Down

0 comments on commit 314566b

Please sign in to comment.