From 60328198837b1cacbde6f0f5fcad4201aad9b9be Mon Sep 17 00:00:00 2001 From: aydreeihn <adriane@enhancesoft.com> Date: Mon, 6 Aug 2018 09:19:38 -0500 Subject: [PATCH] Agent Default Queue: This commit addresses an issue where the Agent could set a Default Ticket Queue in their profile, but the System Default queue would be shown instead. --- scp/tickets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scp/tickets.php b/scp/tickets.php index 82e9b0703..4851b4169 100644 --- a/scp/tickets.php +++ b/scp/tickets.php @@ -93,7 +93,7 @@ if (!$ticket) { $queue_key = sprintf('::Q:%s', ObjectModel::OBJECT_TYPE_TICKET); $queue_id = $queue_id ?: @$_GET['queue'] ?: $_SESSION[$queue_key] - ?: $cfg->getDefaultTicketQueueId(); + ?: $thisstaff->getDefaultTicketQueueId() ?: $cfg->getDefaultTicketQueueId(); // Recover advanced search, if requested if (isset($_SESSION['advsearch']) -- GitLab