From 52aaa0bb183c91b3233d290fc3b97be83973e726 Mon Sep 17 00:00:00 2001 From: Rikki Masters <rikki.masters@copart.com> Date: Wed, 30 Oct 2019 10:11:59 +0000 Subject: [PATCH] Mark as Answered permission correction --- include/ajax.tickets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ajax.tickets.php b/include/ajax.tickets.php index 14ac16401..c2388a409 100644 --- a/include/ajax.tickets.php +++ b/include/ajax.tickets.php @@ -1273,7 +1273,7 @@ function refer($tid, $target=null) { if (!($ticket=Ticket::lookup($tid))) Http::response(404, __('No such ticket')); - if (!$ticket->checkStaffPerm($thisstaff, Ticket::PERM_REPLY) && !$ticket->checkStaffPerm($thisstaff, Ticket::PERM_MARKANSWERED) && !$thisstaff->isManager()) + if (!$ticket->checkStaffPerm($thisstaff, Ticket::PERM_MARKANSWERED) && !$thisstaff->isManager()) Http::response(403, __('Permission denied')); $errors = array(); -- GitLab