diff -r d51b05838ac4 -r aa79acfdf8a9 www/upl_hops.php --- a/www/upl_hops.php Sun Feb 06 20:06:46 2022 +0100 +++ b/www/upl_hops.php Thu Feb 10 22:15:10 2022 +0100 @@ -52,7 +52,9 @@ foreach ($hops->HOP as $hop) { - $sql = "INSERT INTO inventory_hops SET name='" . mysqli_real_escape_string($db, $hop->NAME); + $uuid = str_replace("\n", "", file_get_contents('/proc/sys/kernel/random/uuid')); + $sql = "INSERT INTO inventory_hops SET uuid='" . $uuid; + $sql .= "', name='" . mysqli_real_escape_string($db, $hop->NAME); if ($hop->ALPHA) $sql .= "', alpha='" . floatval($hop->ALPHA); if ($hop->BETA)