Add files via upload

This commit is contained in:
Fernando Méndez 2021-06-01 16:50:28 +02:00 committed by GitHub
parent 687e7b4672
commit 629cad58e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ class FormSelectCinemaSession extends Form {
$count = 0;
$sessionsListHTML = '<select name="sessions" id="sessions"><pre>'.$errorSession.'</pre>';
foreach ($sessionsIT as $value) {
if($this->_TODAY <= $value["DATE"]){
if(strtotime($this->_TODAY) <= strtotime($value["DATE"])){
if($value === reset($sessionsIT)){
$sessionsListHTML .= '<option value="'.$value["sID"].'" >Fecha: '.$value["DATE"].' | Hora: '.$value["HOUR"].' | Sala: '.$value["HALL"].'</option>';
} else {