From b47489a5e2e5e4abab53dc613d62647f1c2d8ddf Mon Sep 17 00:00:00 2001 From: jakani24 Date: Thu, 20 Jun 2024 16:16:40 +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 4c78cdc..cad77ae 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"]);