/** * Updates priority for ticket */ function ticket_pri_id() { $ticketid = FSS_Input::getInt('ticketid'); $ticket_pri_id = FSS_Input::getInt('ticket_pri_id'); if ($ticketid < 1) { exit; } if ($ticket_pri_id < 1) { exit; } $ticket = new SupportTicket(); if (!$ticket->Load($ticketid)) { exit; } $ticket->updatePriority($ticket_pri_id); exit; }