Fixed an issue where if you edited a trip under clients it would break the client relation with the trip

This commit is contained in:
johnnyq 2021-10-21 11:23:39 -04:00
parent 0ec6b1eeae
commit bbcec94b80
1 changed files with 1 additions and 1 deletions

View File

@ -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 = "<i class='fa fa-fw fa-sync-alt text-secondary'></i>";