Bug/issue 55 #57

Merged
MrLyallCSIT merged 2 commits from bug/issue-55 into main 2020-08-09 21:56:18 +00:00
Showing only changes of commit 951f9ec383 - Show all commits

View File

@@ -12,7 +12,7 @@
try {
$stmt = "UPDATE tickets SET status='Closed' WHERE uuid=:uuid";
$sql = $db->prepare($stmt);
$sql->bindParam(':uuid', $request['uuid']);
$sql->bindParam(':uuid', $_GET['rid']);
$sql->execute();
} catch (PDOException $e) {
$alert = array("danger", "Failed to close request: " . $e->getMessage());