From dd482b246fd18adb0244c0ffaafcbd95823b7611 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 15 Jul 2025 13:56:54 -0400 Subject: [PATCH] Use getFallBack function on MAC Address if no MAC is present show a - placeholder --- assets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets.php b/assets.php index 88d26034..925ec95c 100644 --- a/assets.php +++ b/assets.php @@ -501,7 +501,7 @@ if (mysqli_num_rows($os_sql) > 0) { } $asset_ipv6 = nullable_htmlentities($row['interface_ipv6']); $asset_nat_ip = nullable_htmlentities($row['interface_nat_ip']); - $asset_mac = nullable_htmlentities($row['interface_mac']); + $asset_mac = nullable_htmlentities(getFallBack($row['interface_mac'])); $asset_uri = sanitize_url($row['asset_uri']); $asset_uri_2 = sanitize_url($row['asset_uri_2']); $asset_status = nullable_htmlentities($row['asset_status']);