From 5d1c28353351a02a504772bd34e3daf9918ebd8a Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 7 Nov 2023 16:34:32 -0500 Subject: [PATCH] Do not show disabled or users that were before the trip creation date --- trip_add_modal.php | 1 - trip_copy_modal.php | 5 ++++- trip_edit_modal.php | 7 ++++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/trip_add_modal.php b/trip_add_modal.php index 112c5aff..6f29e6ba 100644 --- a/trip_add_modal.php +++ b/trip_add_modal.php @@ -57,7 +57,6 @@ 1 AND user_archived_at IS NULL ORDER BY user_name ASC" + ); while ($row = mysqli_fetch_array($sql_trips)) { $user_id_select = intval($row['user_id']); $user_name_select = nullable_htmlentities($row['user_name']); diff --git a/trip_edit_modal.php b/trip_edit_modal.php index 2ef42a5d..da8ec990 100644 --- a/trip_edit_modal.php +++ b/trip_edit_modal.php @@ -60,7 +60,6 @@ - Driver - 1 AND user_archived_at > trip_created_at ORDER BY user_name ASC" + ); while ($row = mysqli_fetch_array($sql_trips)) { $user_id_select = intval($row['user_id']); $user_name_select = nullable_htmlentities($row['user_name']);