diff --git a/assets/php/config.php b/assets/php/config.php index cf47986..7bf5b47 100644 --- a/assets/php/config.php +++ b/assets/php/config.php @@ -53,7 +53,7 @@ * @see http://php.net/manual/en/language.types.callable.php */ register_shutdown_function(array($app, 'shutdown')); - + //Depuración (BORRAR): ini_set('display_errors', 1); ini_set('display_startup_errors', 1); diff --git a/purchase/includes/formSelectCinemaSession.php b/purchase/includes/formSelectCinemaSession.php index 8b492c0..a96f0fd 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(); @@ -118,11 +118,11 @@ class FormSelectCinemaSession extends Form { $sessionsListHTML .= ''; if($count == 0) { - $sessionsListHTML = ''; + $sessionsListHTML = ''; $pay = false; } } else { - $sessionsListHTML = ''; + $sessionsListHTML = ''; $pay = false; } } else { @@ -147,7 +147,7 @@ class FormSelectCinemaSession extends Form {
'.$errorCode.'
'; } else { - $html = '

No existe la película.

'; + $html = '

No existe la película.

'; $pay = false; } } else if(isset($_GET["cinema"])) { @@ -192,7 +192,7 @@ class FormSelectCinemaSession extends Form { '; } else { - $filmsListHTML = ''; + $filmsListHTML = ''; } //Reply: Depends on whether the purchase is to be made from a selected movie or a cinema. @@ -213,8 +213,7 @@ class FormSelectCinemaSession extends Form { '; } else { - $html = '

No existe el cine.

- '; + $html = '

No existe el cine.

'; $pay = false; } } else { @@ -226,6 +225,8 @@ class FormSelectCinemaSession extends Form { //Select seat button: if($pay){ $pay = ''; + } else { + $pay = ''; } return '