Skip to content
Snippets Groups Projects
Commit d8c001e1 authored by clonemeagain's avatar clonemeagain Committed by Jared Hancock
Browse files

Update ajax.tickets.php

Missed one.. :-(
parent 8c482588
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment