From 60285b2e3dbd8ade7474f9f99d74c07936a37d4e Mon Sep 17 00:00:00 2001 From: Peter Rotich <peter@enhancesoft.com> Date: Mon, 22 Oct 2018 15:56:40 +0000 Subject: [PATCH] Queue: Private Queue Drop checking FLAG_PUBLIC when determining if a queue is private --- include/class.queue.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/class.queue.php b/include/class.queue.php index dca048263..3d2c8f365 100644 --- a/include/class.queue.php +++ b/include/class.queue.php @@ -1055,8 +1055,7 @@ class CustomQueue extends VerySimpleModel { } function isPrivate() { - return !$this->isAQueue() && !$this->isPublic() && - $this->staff_id; + return !$this->isAQueue() && $this->staff_id; } function isPublic() { -- GitLab