mirror of
https://github.com/itflow-org/itflow
synced 2026-07-24 17:30:43 +00:00
Replace the rest of the getFallBack Functions with simple ?: '-'
This commit is contained in:
@@ -536,10 +536,10 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
$asset_serial_display = "-";
|
||||
}
|
||||
$asset_os = escapeHtml($row['asset_os']);
|
||||
$asset_ip = getFallBack(escapeHtml($row['interface_ip']));
|
||||
$asset_ip = escapeHtml($row['interface_ip']) ?: '-';
|
||||
$asset_ipv6 = escapeHtml($row['interface_ipv6']);
|
||||
$asset_nat_ip = escapeHtml($row['interface_nat_ip']);
|
||||
$asset_mac = escapeHtml(getFallBack($row['interface_mac']));
|
||||
$asset_mac = escapeHtml($row['interface_mac']) ?: '-';
|
||||
$asset_uri = sanitize_url($row['asset_uri']);
|
||||
$asset_uri_2 = sanitize_url($row['asset_uri_2']);
|
||||
$asset_uri_client = sanitize_url($row['asset_uri_client']);
|
||||
|
||||
Reference in New Issue
Block a user