mirror of
https://github.com/itflow-org/itflow
synced 2026-03-06 22:04:51 +00:00
DB Optimizing in Ticket Selections and relogicify mark billable also more logging
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<option value="">-Select a contact-</option>
|
||||
<?php
|
||||
|
||||
$sql_client_contacts_select = mysqli_query($mysqli, "SELECT * FROM contacts WHERE contact_client_id = $client_id AND contact_email <> '' ORDER BY contact_name ASC");
|
||||
$sql_client_contacts_select = mysqli_query($mysqli, "SELECT contact_id, contact_name, contact_email FROM contacts WHERE contact_client_id = $client_id AND contact_email <> '' ORDER BY contact_name ASC");
|
||||
while ($row = mysqli_fetch_array($sql_client_contacts_select)) {
|
||||
$contact_id_select = intval($row['contact_id']);
|
||||
$contact_name_select = nullable_htmlentities($row['contact_name']);
|
||||
|
||||
Reference in New Issue
Block a user