From d8c001e1a26b086ccd00b33dbca3a6dbca42d416 Mon Sep 17 00:00:00 2001 From: clonemeagain <clonemeagain@gmail.com> Date: Mon, 23 Dec 2013 12:08:45 +1100 Subject: [PATCH] Update ajax.tickets.php Missed one.. :-( --- 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 b0089b1dc..2f8e86b96 100644 --- a/include/ajax.tickets.php +++ b/include/ajax.tickets.php @@ -218,7 +218,7 @@ class TicketsAjaxAPI extends AjaxController { function renewLock($tid, $id) { global $thisstaff; - if(!$tid || !is_numeric($tid) || !is_numeric($id) || !$thisstaff) + if(!$tid || !is_numeric($tid) || !$id || !is_numeric($id) || !$thisstaff) return $this->json_encode(array('id'=>0, 'retry'=>true)); $lock= TicketLock::lookup($id, $tid); -- GitLab