From 616bf859348f4c6a9f732011d2e5a22d5bff69a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20M=C3=A9ndez?= <45081533+FerMdez@users.noreply.github.com> Date: Wed, 2 Jun 2021 20:59:02 +0200 Subject: [PATCH] Add files via upload --- purchase/includes/formPurchase.php | 2 +- purchase/includes/formSelectCinemaSession.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/purchase/includes/formPurchase.php b/purchase/includes/formPurchase.php index 25c69ef..9930826 100644 --- a/purchase/includes/formPurchase.php +++ b/purchase/includes/formPurchase.php @@ -45,7 +45,7 @@ class FormPurchase extends Form { for($i = 0; $i <= $rows; $i++){ for($j = 0; $j <= $cols; $j++){ $seat = $i.$j; - if(isset($_POST["checkbox".$seat])){ $this->seat = $seat; } + if(isset($_POST["checkbox".$seat])){ $this->seat = "(Fila) ".$i." - (Columna) ".$j; } } } diff --git a/purchase/includes/formSelectCinemaSession.php b/purchase/includes/formSelectCinemaSession.php index 035f06f..6152b7c 100644 --- a/purchase/includes/formSelectCinemaSession.php +++ b/purchase/includes/formSelectCinemaSession.php @@ -78,7 +78,7 @@ class FormSelectCinemaSession extends Form { $cinemasListHTML .= ' '; } else { - $cinemasListHTML = '
'; + $cinemasListHTML = ''; } $fiml_id = $film->getId();