mirror of
https://github.com/itflow-org/itflow
synced 2026-03-05 21:34:51 +00:00
Fixed a few var errors in ajax contact details
This commit is contained in:
@@ -9,7 +9,7 @@ $sql = mysqli_query($mysqli, "SELECT * FROM contacts
|
|||||||
LEFT JOIN locations ON location_id = contact_location_id
|
LEFT JOIN locations ON location_id = contact_location_id
|
||||||
LEFT JOIN users ON user_id = contact_user_id
|
LEFT JOIN users ON user_id = contact_user_id
|
||||||
WHERE contact_id = $contact_id
|
WHERE contact_id = $contact_id
|
||||||
$client_query
|
LIMIT 1
|
||||||
");
|
");
|
||||||
|
|
||||||
$row = mysqli_fetch_array($sql);
|
$row = mysqli_fetch_array($sql);
|
||||||
@@ -114,7 +114,7 @@ $sql_linked_services = mysqli_query($mysqli, "SELECT * FROM service_contacts, se
|
|||||||
AND service_contacts.service_id = services.service_id
|
AND service_contacts.service_id = services.service_id
|
||||||
ORDER BY service_name ASC"
|
ORDER BY service_name ASC"
|
||||||
);
|
);
|
||||||
$service_count = mysqli_num_rows($sql_linked_services);
|
$services_count = mysqli_num_rows($sql_linked_services);
|
||||||
|
|
||||||
$linked_services = array();
|
$linked_services = array();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user