From 0466def08ba40c0386ed60e7f85628d179db5184 Mon Sep 17 00:00:00 2001 From: jakani24 Date: Sat, 9 Mar 2024 16:05:05 +0100 Subject: [PATCH] Update add_client.php --- src/server/cyberhex-code/system/secure_zone/php/add_client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7c6e947..abdf7b0 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 @@ -75,7 +75,7 @@ include "../../../config.php"; $ip="nan"; //check if there isn't a machine with the same name allready - $sql = "SELECT * FROM machined WHERE machine_location = ?"; + $sql = "SELECT * FROM machines WHERE machine_location = ?"; $stmt->bind_param("s", $location); $stmt->execute(); // Get the result