Skip to content

Commit

Permalink
Incorrect variable reference
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Nov 4, 2024
1 parent 6fa431f commit af2769d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mt-cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ function mt_event_expired( $event, $react = false ) {
$expired = get_post_meta( $event, '_mt_event_expired', true );
if ( 'true' === $expired ) {
// The event is no longer available for sale, but not all type emails may have been sent.
mt_handle_expiration_status( $event_id );
mt_handle_expiration_status( $event );
return true;
} else {
$data = get_post_meta( $event, '_mc_event_data', true );
Expand Down

0 comments on commit af2769d

Please sign in to comment.