diff --git a/scp/tickets.php b/scp/tickets.php index 27179c0befe768bcfbfea7654772b45d16b12b3e..bb754390885ff077a2dd576b07bc14c9189c3a3a 100644 --- a/scp/tickets.php +++ b/scp/tickets.php @@ -445,12 +445,13 @@ foreach ($queues as $_) { $nav->addSubMenu(function() use ($q, $queue, $children) { // A queue is selected if it is the one being displayed. It is // "child" selected if its ID is in the path of the one selected + $_selected = ($queue && $queue->getId() == $q->getId()); $child_selected = $queue && ($queue->parent_id == $q->getId() || false !== strpos($queue->getPath(), "/{$q->getId()}/")); include STAFFINC_DIR . 'templates/queue-navigation.tmpl.php'; - return $child_selected; + return ($child_selected || $_selected); }); }