From bbcec94b8087a2756ff1496dc0f7e6249d3976a0 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 21 Oct 2021 11:23:39 -0400 Subject: [PATCH] Fixed an issue where if you edited a trip under clients it would break the client relation with the trip --- client_trips.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_trips.php b/client_trips.php index 51c26009..7b2436b7 100644 --- a/client_trips.php +++ b/client_trips.php @@ -114,7 +114,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); $trip_destination = $row['trip_destination']; $trip_miles = $row['trip_miles']; $round_trip = $row['round_trip']; - $client_id = $row['client_id']; + $client_id = $row['trip_client_id']; if($round_trip == 1){ $round_trip_display = "";