diff --git a/src/css/my-tickets.css b/src/css/my-tickets.css index 6a165757..b6f8f9f4 100644 --- a/src/css/my-tickets.css +++ b/src/css/my-tickets.css @@ -17,6 +17,10 @@ padding: 0; } +td duet-date-picker .duet-date:not(:last-of-type) { + display: none; +} + .mt-move-tickets { position: relative; display: none; diff --git a/src/mt-processing.php b/src/mt-processing.php index 0004cf10..ffa0a738 100644 --- a/src/mt-processing.php +++ b/src/mt-processing.php @@ -419,10 +419,11 @@ function mt_prices_table( $registration = array() ) { $available = ""; } if ( $label ) { + $date = ( '' !== $options['label'] ) ? $options['label'] : date( 'Y-m-d' ); $args = array( 'id' => "mt_label_$label", 'name' => 'mt_label[]', - 'value' => gmdate( 'Y-m-d', strtotime( $options['label'] ) ), + 'value' => gmdate( 'Y-m-d', strtotime( $date ) ), ); $label_field = ( 'event' === $counting ) ? '