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.

This commit is contained in:
johnnyq 2023-08-24 14:33:18 -04:00
parent 597b7575d6
commit 01164e5415
1 changed files with 0 additions and 1 deletions

View File

@ -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"
);