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 a1d37d1..a0da1ad 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 @@ -69,7 +69,7 @@ include "../../../config.php"; // Convert the random bytes to hexadecimal $machineid = bin2hex($random_bytes); - if(!isset($_POST["ip"])) + if($_POST["ip"]=="") $ip="nan"; $location=htmlspecialchars($_POST["location"]);