projects
/
hmb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
855e6e5
)
Fix ticket allocation
author
Richard Whitehouse
<richardwhiuk@richardwhiuk.com>
Fri, 4 Feb 2011 23:22:37 +0000
(23:22 +0000)
committer
Richard Whitehouse
<richardwhiuk@richardwhiuk.com>
Fri, 4 Feb 2011 23:22:37 +0000
(23:22 +0000)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index 451c37ec2a33aac76bc6c7b173621ad5e8a1a9f2..bfa8b08b80141fc497770eabc0bebc34836a52af 100644
(file)
--- 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;