@@ 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' ); |
@@ 252-254 (lines=3) @@ | ||
249 | if( $reg_row[ 'Ticket.TKT_ID'] ) { |
|
250 | $ticket_name = \EEH_Export::prepare_value_from_db_for_display( $ticket_model, 'TKT_name', $reg_row[ 'Ticket.TKT_name' ] ); |
|
251 | $datetimes_strings = array(); |
|
252 | 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){ |
|
253 | $datetimes_strings[] = \EEH_Export::prepare_value_from_db_for_display( \EEM_Datetime::instance(), 'DTT_EVT_start', $datetime[ 'Datetime.DTT_EVT_start'] ); |
|
254 | } |
|
255 | ||
256 | } else { |
|
257 | $ticket_name = __( 'Unknown', 'event_espresso' ); |