From dddbc66f145d0d2178979c4a0b18bac14eb88cda Mon Sep 17 00:00:00 2001 From: jakani24 Date: Thu, 20 Jun 2024 16:17:08 +0200 Subject: [PATCH] Update manage_incident.php --- .../cyberhex-code/system/secure_zone/php/manage_incident.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/cyberhex-code/system/secure_zone/php/manage_incident.php b/src/server/cyberhex-code/system/secure_zone/php/manage_incident.php index cad77ae..d6d12b6 100644 --- a/src/server/cyberhex-code/system/secure_zone/php/manage_incident.php +++ b/src/server/cyberhex-code/system/secure_zone/php/manage_incident.php @@ -30,7 +30,7 @@ include "../../../api/php/log/add_server_entry.php"; //to log things if(isset($_GET["add_todolist"])){ $name=htmlspecialchars($_POST["name"]); - $incident_id=htmlspecialchars($_GET("incident_id"]); + $incident_id=htmlspecialchars($_GET["incident_id"]); $sql="INSERT INTO todo_lists (name,belongs_to_incident) VALUES(?,?)"; $stmt->bind_param("si", $name,$incident_id); $name=htmlspecialchars($_POST["name"]);