Fix the flight reservation with a return cinematic.
[Project_webapp.git] / includes / formbooking.php
index be30b874d92cf1d93a33d0e20df5bbb41e8adc9e..8699109e66e57feba93b0e93bbe337427fcebbfc 100644 (file)
@@ -66,6 +66,7 @@ if (!$input_failure && $is_logged_in && !empty($form_nb_place) && !empty($form_c
         $_SESSION['return_flight_departure_city'] = $row['VilleA'];
         $_SESSION['return_flight_arrival_city'] = $row['VilleD'];
         $_SESSION['return_flight_departure_date'] = $row['DateA'];
+        $_SESSION['return_flight_nb_place'] = $form_nb_place;
         redirect("index.php?page=search&action=return_flight", 3);
     } else {
         redirect("index.php?page=reservations", 3);