From 598129e1f74c820e3b82d6ac1ff9001b2977093e Mon Sep 17 00:00:00 2001 From: jakani24 Date: Sat, 9 Mar 2024 16:05:49 +0100 Subject: [PATCH] Update add_client.php --- src/server/cyberhex-code/system/secure_zone/php/add_client.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/cyberhex-code/system/secure_zone/php/add_client.php b/src/server/cyberhex-code/system/secure_zone/php/add_client.php index abdf7b0..07b6a15 100644 --- a/src/server/cyberhex-code/system/secure_zone/php/add_client.php +++ b/src/server/cyberhex-code/system/secure_zone/php/add_client.php @@ -76,6 +76,7 @@ include "../../../config.php"; //check if there isn't a machine with the same name allready $sql = "SELECT * FROM machines WHERE machine_location = ?"; + $stmt = $conn->prepare($sql); $stmt->bind_param("s", $location); $stmt->execute(); // Get the result