🐛 Use 'ticket_uuid' instead of non-existent 'uuid'
Signed-off-by: Luke Tainton <luke@tainton.uk>
This commit was merged in pull request #45.
This commit is contained in:
@@ -95,7 +95,7 @@ function get_subscribed_requests($db) {
|
||||
foreach ($sub_tickets_result as $tkt) {
|
||||
$stmt = "SELECT * FROM tickets WHERE uuid=:uuid";
|
||||
$sql = $db->prepare($stmt);
|
||||
$sql->bindParam(':uuid', $tkt['uuid']);
|
||||
$sql->bindParam(':uuid', $tkt['ticket_uuid']);
|
||||
$sql->execute();
|
||||
$sql->setFetchMode(PDO::FETCH_ASSOC);
|
||||
$result = $sql->fetchAll();
|
||||
|
||||
Reference in New Issue
Block a user