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 6c85d21..a1d37d1 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 @@ -74,7 +74,7 @@ include "../../../config.php"; $location=htmlspecialchars($_POST["location"]); $stmt = $conn->prepare("INSERT INTO machines (machine_name, machine_location,machine_ip) VALUES (?, ?, ?)"); - $stmt->bind_param("sss", $machine_id, $location, $ip); + $stmt->bind_param("sss", $machineid, $location, $ip); $stmt->execute(); $stmt->close();