@@ 1596-1600 (lines=5) @@ | ||
1593 | $template_args['ticket_rows'] .= $this->_get_ticket_row($ticket, false, $row); |
|
1594 | $row++; |
|
1595 | } |
|
1596 | } else { |
|
1597 | $template_args['total_ticket_rows'] = 1; |
|
1598 | /** @type EE_Ticket $ticket */ |
|
1599 | $ticket = EE_Registry::instance()->load_model('Ticket')->create_default_object(); |
|
1600 | $template_args['ticket_rows'] .= $this->_get_ticket_row($ticket); |
|
1601 | } |
|
1602 | } else { |
|
1603 | $template_args['time'] = $times[0]; |
|
@@ 1602-1606 (lines=5) @@ | ||
1599 | $ticket = EE_Registry::instance()->load_model('Ticket')->create_default_object(); |
|
1600 | $template_args['ticket_rows'] .= $this->_get_ticket_row($ticket); |
|
1601 | } |
|
1602 | } else { |
|
1603 | $template_args['time'] = $times[0]; |
|
1604 | /** @type EE_Ticket $ticket */ |
|
1605 | $ticket = EE_Registry::instance()->load_model('Ticket')->get_all_default_tickets(); |
|
1606 | $template_args['ticket_rows'] .= $this->_get_ticket_row($ticket[1]); |
|
1607 | // NOTE: we're just sending the first default row |
|
1608 | // (decaf can't manage default tickets so this should be sufficient); |
|
1609 | } |