diff --git a/include/staff/tickets.inc.php b/include/staff/tickets.inc.php index f45d882cca284f5e73c34686e0d1372cb1998b2a..99bfb2381c0efd0b717b705181edf92379051284 100644 --- a/include/staff/tickets.inc.php +++ b/include/staff/tickets.inc.php @@ -189,6 +189,7 @@ case 'search': // Fall-through and show open tickets case 'open': $status='open'; + $queue_name = $queue_name ?: 'open'; $results_type=__('Open Tickets'); if (!$cfg->showAnsweredTickets()) $tickets->filter(array('isanswered'=>0));