Fix subscribed requests list #45

Merged
luketainton merged 1 commits from bug/issue-44 into main 2020-08-09 15:55:17 +00:00

View File

@@ -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();