From 01164e54153ec489f734a82259607aec8e774c58 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 24 Aug 2023 14:33:18 -0400 Subject: [PATCH] Fixed Duplicating Licenes issue under client contact details page. This was becuase it was linking logins with licenses so if you had 5 logins for the license it would dupe 5 times. I need to change this code to be many to many relation in future. --- client_contact_details.php | 1 - 1 file changed, 1 deletion(-) diff --git a/client_contact_details.php b/client_contact_details.php index d9606fde..a0fd4e6a 100644 --- a/client_contact_details.php +++ b/client_contact_details.php @@ -55,7 +55,6 @@ if (isset($_GET['contact_id'])) { $mysqli, "SELECT * FROM software_contacts LEFT JOIN software ON software_contacts.software_id = software.software_id - LEFT JOIN logins on software.software_id = logins.login_software_id WHERE software_contacts.contact_id = $contact_id ORDER BY software.software_id DESC" );