From e56878cd6c95f8a29dba8c15017423f26df766f5 Mon Sep 17 00:00:00 2001 From: JediKev <kevin@enhancesoft.com> Date: Tue, 11 Dec 2018 13:36:59 -0600 Subject: [PATCH] oops: markAs() Typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This addresses a typo in the `markAs()` function in `ajax.tickets.php`. DOH! Should’ve ran the lint tests --- 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 3338ea4c5..beb0c5613 100644 --- a/include/ajax.tickets.php +++ b/include/ajax.tickets.php @@ -1285,7 +1285,7 @@ function refer($tid, $target=null) { case 'unanswered': if(!$ticket->isAnswered()) $errors['err'] = __('Ticket is already marked as unanswered'); - elseif (!$ticket->markUnanswered()) + elseif (!$ticket->markUnAnswered()) $errors['err'] - __('Cannot mark ticket as unanswered'); break; -- GitLab