From 6f702b22401b78218792cfbd55c58a108e2fa07d Mon Sep 17 00:00:00 2001
From: JediKev <kevin@enhancesoft.com>
Date: Wed, 5 Sep 2018 15:30:35 -0500
Subject: [PATCH] issue: Newly Added Queues

This addresses an issue where newly added queues in the Admin Panel do not
show up in the list of queues nor in the ticket view. This is due to the
function that does not set any additional flags on queues if one already
exists.
---
 scp/queues.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/scp/queues.php b/scp/queues.php
index ba5f33b78..f02f4efc8 100644
--- a/scp/queues.php
+++ b/scp/queues.php
@@ -42,7 +42,6 @@ if ($_POST) {
 
     case 'create':
         $queue = CustomQueue::create(array(
-            'flags' => CustomQueue::FLAG_PUBLIC,
             'staff_id' => 0,
             'title' => $_POST['queue-name'],
             'root' => $_POST['root'] ?: 'T'
-- 
GitLab