Update manage_incident.php

This commit is contained in:
jakani24
2024-06-25 21:33:19 +02:00
parent 9ca9adc225
commit 8fa35faa19

View File

@@ -94,7 +94,7 @@ if(isset($_GET["close_incident"])){
$closed=date("Y-m-d H-i-s");
$sql="UPDATE incidents SET status='closed', closed = ? WHERE id = ?";
$stmt = $conn->prepare($sql);
$stmt->bind_param("is", $closed,$incident_id);
$stmt->bind_param("si", $closed,$incident_id);
$stmt->execute();
$stmt->close();
}