mirror of https://github.com/itflow-org/itflow
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:
parent
597b7575d6
commit
01164e5415
|
|
@ -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"
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue