From 247c2b3a88a3c3c8b7892d544c5eb48f9291f350 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 25 Feb 2023 21:29:23 -0500 Subject: [PATCH] Added Primary IP to the Assets view --- client_assets.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client_assets.php b/client_assets.php index c52568fb..a0f51ad9 100644 --- a/client_assets.php +++ b/client_assets.php @@ -146,6 +146,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); if ($_GET['type'] !== 'network' && $_GET['type'] !== 'other') { ?> Operating System + IP Install Date Assigned To @@ -180,7 +181,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); if (empty($asset_ip)) { $asset_ip_display = "-"; } else { - $asset_ip_display = "$asset_ip"; + $asset_ip_display = "$asset_ip"; } $asset_mac = htmlentities($row['asset_mac']); $asset_status = htmlentities($row['asset_status']); @@ -290,6 +291,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); +