Skip to content

Commit

Permalink
Incorrectly quoted ID attribute value
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 5, 2025
1 parent 3fbe16d commit 1d6f71f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mt-processing.php
Original file line number Diff line number Diff line change
Expand Up @@ -496,9 +496,9 @@ function mt_prices_table( $registration = array(), $counting = '' ) {
continue;
}
if ( 'discrete' === $counting || 'event' === $counting ) {
$available = "<input type='text' name='mt_tickets$pattern' id='mt_tickets_$counting . '_' . $label' value='" . esc_attr( $options['tickets'] ) . "' size='8' />";
$available = "<input type='text' name='mt_tickets$pattern' id='mt_tickets_$counting" . '_' . "$label' value='" . esc_attr( $options['tickets'] ) . "' size='8' />";
} else {
$available = "<input type='hidden' name='mt_tickets$pattern' id='mt_tickets_$counting . '_' . $label' value='inherit' />";
$available = "<input type='hidden' name='mt_tickets$pattern' id='mt_tickets_$counting" . '_' . "$label' value='inherit' />";
}
if ( $label ) {
$date = ( isset( $options['label'] ) && '' !== $options['label'] ) ? $options['label'] : '';
Expand Down

0 comments on commit 1d6f71f

Please sign in to comment.