From 65eaf928628cb4a07935a00e8468e469731461cb Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 27 Mar 2025 12:01:10 -0400 Subject: [PATCH] Fixed a few debug errors where client was not checked to see if it was set in some of the create modals, replaced old url_query_strings_sb var to the correct new var url_query_strings_sort. --- modals/asset_add_modal.php | 2 +- modals/certificate_add_modal.php | 2 +- modals/contact_add_modal.php | 2 +- modals/credential_add_modal.php | 2 +- modals/domain_add_modal.php | 2 +- modals/location_add_modal.php | 2 +- modals/network_add_modal.php | 4 ++-- modals/service_add_modal.php | 2 +- modals/software_add_modal.php | 2 +- networks.php | 14 +++++++------- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/modals/asset_add_modal.php b/modals/asset_add_modal.php index 9746f59a..c77679ba 100644 --- a/modals/asset_add_modal.php +++ b/modals/asset_add_modal.php @@ -58,7 +58,7 @@ while ($row = mysqli_fetch_array($sql)) { $client_id = intval($row['client_id']); $client_name = nullable_htmlentities($row['client_name']); ?> - + diff --git a/modals/certificate_add_modal.php b/modals/certificate_add_modal.php index 14bbcdfd..b392846a 100644 --- a/modals/certificate_add_modal.php +++ b/modals/certificate_add_modal.php @@ -46,7 +46,7 @@ while ($row = mysqli_fetch_array($sql)) { $client_id = intval($row['client_id']); $client_name = nullable_htmlentities($row['client_name']); ?> - + diff --git a/modals/contact_add_modal.php b/modals/contact_add_modal.php index d267245d..a10fd71f 100644 --- a/modals/contact_add_modal.php +++ b/modals/contact_add_modal.php @@ -49,7 +49,7 @@ while ($row = mysqli_fetch_array($sql)) { $client_id = intval($row['client_id']); $client_name = nullable_htmlentities($row['client_name']); ?> - + diff --git a/modals/credential_add_modal.php b/modals/credential_add_modal.php index ce4274d5..61d3aa35 100644 --- a/modals/credential_add_modal.php +++ b/modals/credential_add_modal.php @@ -49,7 +49,7 @@ while ($row = mysqli_fetch_array($sql)) { $client_id = intval($row['client_id']); $client_name = nullable_htmlentities($row['client_name']); ?> - + diff --git a/modals/domain_add_modal.php b/modals/domain_add_modal.php index ed5057a6..4d134f68 100644 --- a/modals/domain_add_modal.php +++ b/modals/domain_add_modal.php @@ -44,7 +44,7 @@ while ($row = mysqli_fetch_array($sql)) { $client_id = intval($row['client_id']); $client_name = nullable_htmlentities($row['client_name']); ?> - + diff --git a/modals/location_add_modal.php b/modals/location_add_modal.php index 80fb697c..b12e3a1e 100644 --- a/modals/location_add_modal.php +++ b/modals/location_add_modal.php @@ -51,7 +51,7 @@ while ($row = mysqli_fetch_array($sql)) { $client_id = intval($row['client_id']); $client_name = nullable_htmlentities($row['client_name']); ?> - + diff --git a/modals/network_add_modal.php b/modals/network_add_modal.php index 12505a8d..62bb2df2 100644 --- a/modals/network_add_modal.php +++ b/modals/network_add_modal.php @@ -49,7 +49,7 @@ while ($row = mysqli_fetch_array($sql)) { $client_id = intval($row['client_id']); $client_name = nullable_htmlentities($row['client_name']); ?> - + @@ -94,7 +94,7 @@ $location_id = intval($row['location_id']); $location_name = nullable_htmlentities($row['location_name']); ?> - + - + diff --git a/modals/software_add_modal.php b/modals/software_add_modal.php index ca46241f..7f652ccd 100644 --- a/modals/software_add_modal.php +++ b/modals/software_add_modal.php @@ -54,7 +54,7 @@ while ($row = mysqli_fetch_array($sql)) { $client_id = intval($row['client_id']); $client_name = nullable_htmlentities($row['client_name']); ?> - + diff --git a/networks.php b/networks.php index 221c1b0c..416e3f3b 100644 --- a/networks.php +++ b/networks.php @@ -181,37 +181,37 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); - + Name - + vLAN - + IP / Network - + Gateway - + DNS - + DHCP Range - + Location