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