From e8f4c5a6722f4017daf45f72a433c1138f8b7d08 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 16 Nov 2023 18:08:21 -0500 Subject: [PATCH] Fixed Where clause in services --- client_services.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_services.php b/client_services.php index cb7ca1a5..06cd1d81 100644 --- a/client_services.php +++ b/client_services.php @@ -128,7 +128,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); LEFT JOIN logins ON service_assets.asset_id = logins.login_asset_id LEFT JOIN networks ON assets.asset_network_id = networks.network_id LEFT JOIN locations ON assets.asset_location_id = locations.location_id - AND service_id = $service_id" + WHERE service_id = $service_id" ); // Associated logins