true if the selected queue is a descendent // $adhoc - not FALSE if an adhoc advanced search exists $searches = SavedQueue::getHierarchicalQueues($thisstaff); if ($queue && !$queue->parent_id && $queue->staff_id) $child_selected = true; ?>