Do not show DHCP if IP is null under assets

This commit is contained in:
johnnyq 2024-03-20 13:05:10 -04:00
parent dafdc7a63b
commit 6790464e90
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
}
$asset_ip = nullable_htmlentities($row['asset_ip']);
if (empty($asset_ip)) {
$asset_ip_display = "DHCP";
$asset_ip_display = "-";
} else {
$asset_ip_display = $asset_ip;
}