@@ 431-433 (lines=3) @@ | ||
428 | if( $reg_row[ 'Ticket.TKT_ID'] ) { |
|
429 | $ticket_name = $this->_prepare_value_from_db_for_display( $ticket_model, 'TKT_name', $reg_row[ 'Ticket.TKT_name' ] ); |
|
430 | $datetimes_strings = array(); |
|
431 | foreach( EEM_Datetime::instance()->get_all_wpdb_results( array( array( 'Ticket.TKT_ID' => $reg_row[ 'Ticket.TKT_ID' ] ), 'order_by' => array( 'DTT_EVT_start' => 'ASC' ), 'default_where_conditions' => 'none' ) ) as $datetime){ |
|
432 | $datetimes_strings[] = $this->_prepare_value_from_db_for_display( EEM_Datetime::instance(), 'DTT_EVT_start', $datetime[ 'Datetime.DTT_EVT_start'] ); |
|
433 | } |
|
434 | ||
435 | } else { |
|
436 | $ticket_name = __( 'Unknown', 'event_espresso' ); |
@@ 280-282 (lines=3) @@ | ||
277 | if( $reg_row[ 'Ticket.TKT_ID'] ) { |
|
278 | $ticket_name = \EEH_Export::prepare_value_from_db_for_display( $ticket_model, 'TKT_name', $reg_row[ 'Ticket.TKT_name' ] ); |
|
279 | $datetimes_strings = array(); |
|
280 | foreach( \EEM_Datetime::instance()->get_all_wpdb_results( array( array( 'Ticket.TKT_ID' => $reg_row[ 'Ticket.TKT_ID' ] ), 'order_by' => array( 'DTT_EVT_start' => 'ASC' ), 'default_where_conditions' => 'none' ) ) as $datetime){ |
|
281 | $datetimes_strings[] = \EEH_Export::prepare_value_from_db_for_display( \EEM_Datetime::instance(), 'DTT_EVT_start', $datetime[ 'Datetime.DTT_EVT_start'] ); |
|
282 | } |
|
283 | ||
284 | } else { |
|
285 | $ticket_name = __( 'Unknown', 'event_espresso' ); |