From 272ddaf049cc5e5804ece97ea2d60812c4c2dff0 Mon Sep 17 00:00:00 2001 From: Richard Whitehouse Date: Fri, 4 Feb 2011 23:22:37 +0000 Subject: [PATCH] Fix ticket allocation --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 451c37e..bfa8b08 100644 --- a/index.php +++ b/index.php @@ -225,6 +225,7 @@ class Ticket { } $ticket = new Ticket($id, $type, $status); $query = 'UPDATE `ticket` SET `status` = 1 WHERE `id` = ?'; + $stmt = Ticketing::Get()->database()->prepare($query); $stmt->bind_param('i', $id); $stmt->execute(); return $ticket; -- 2.34.1