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