@@ 437-439 (lines=3) @@ | ||
434 | if( $reg_row[ 'Ticket.TKT_ID'] ) { |
|
435 | $ticket_name = $this->_prepare_value_from_db_for_display( $ticket_model, 'TKT_name', $reg_row[ 'Ticket.TKT_name' ] ); |
|
436 | $datetimes_strings = array(); |
|
437 | 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){ |
|
438 | $datetimes_strings[] = $this->_prepare_value_from_db_for_display( EEM_Datetime::instance(), 'DTT_EVT_start', $datetime[ 'Datetime.DTT_EVT_start'] ); |
|
439 | } |
|
440 | ||
441 | } else { |
|
442 | $ticket_name = __( 'Unknown', 'event_espresso' ); |
@@ 278-280 (lines=3) @@ | ||
275 | if( $reg_row[ 'Ticket.TKT_ID'] ) { |
|
276 | $ticket_name = \EEH_Export::prepare_value_from_db_for_display( $ticket_model, 'TKT_name', $reg_row[ 'Ticket.TKT_name' ] ); |
|
277 | $datetimes_strings = array(); |
|
278 | 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){ |
|
279 | $datetimes_strings[] = \EEH_Export::prepare_value_from_db_for_display( \EEM_Datetime::instance(), 'DTT_EVT_start', $datetime[ 'Datetime.DTT_EVT_start'] ); |
|
280 | } |
|
281 | ||
282 | } else { |
|
283 | $ticket_name = __( 'Unknown', 'event_espresso' ); |