Skip to content

Commit

Permalink
Fix attachment handling for Woo tickets in Outlook
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasguseo committed Apr 27, 2023
1 parent 2f848d0 commit 846951d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tribe-ext-pdf-tickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ private function add_woo_pdf_to_attachments_list( $attendee_id, $file_name ) {
}

// add to array with key like `woo_84202_1`
$this->attachments_array[ $order_id_array_key . '_' . $this->attachment_count ] = $file_name;
$this->attachments_array[ $order_id_array_key . '_' . $this->attachment_count . '.pdf' ] = $file_name;
}

/**
Expand Down

0 comments on commit 846951d

Please sign in to comment.