Skip to content

Commit

Permalink
Codesmell
Browse files Browse the repository at this point in the history
  • Loading branch information
wrongecho committed Oct 28, 2023
1 parent e88d0b1 commit d6cf04b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@
$client_id = intval($_GET['client_id']);
$ticket_id = intval($_GET['ticket_id']);

$contact_sql = mysqli_query($mysqli, "SELECT contact_id, contact_name FROM contacts
WHERE contact_client_id = $client_id
$contact_sql = mysqli_query($mysqli, "SELECT contact_id, contact_name FROM contacts
WHERE contact_client_id = $client_id
AND contact_archived_at IS NULL
ORDER BY contact_primary DESC, contact_technical DESC, contact_name ASC"
);
Expand Down

0 comments on commit d6cf04b

Please sign in to comment.