Update add_client.php

This commit is contained in:
jakani24
2024-02-17 10:38:01 +01:00
parent 78b9f8fabd
commit a7df24a409

View File

@@ -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"]);