mirror of https://github.com/itflow-org/itflow
Use getFallBack function on MAC Address if no MAC is present show a - placeholder
This commit is contained in:
parent
717e6351e7
commit
dd482b246f
|
|
@ -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']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue