From c0f7c36fe5edbaea39657d73e0bc2cc4874110f5 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 19 Feb 2022 17:21:06 -0500 Subject: [PATCH] Fix contact edit to user contact added_at --- client_contact_edit_modal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_contact_edit_modal.php b/client_contact_edit_modal.php index 1876a6c4..7ca465c3 100644 --- a/client_contact_edit_modal.php +++ b/client_contact_edit_modal.php @@ -103,7 +103,7 @@ '$network_created_at' OR location_archived_at IS NULL) AND location_client_id = $client_id ORDER BY location_name ASC"); + $sql_locations = mysqli_query($mysqli,"SELECT * FROM locations WHERE (location_archived_at > '$contact_created_at' OR location_archived_at IS NULL) AND location_client_id = $client_id ORDER BY location_name ASC"); while($row = mysqli_fetch_array($sql_locations)){ $location_id_select = $row['location_id']; $location_name_select = $row['location_name'];