From cc841917dfa48a894853dbbdea51e1b4963b87e2 Mon Sep 17 00:00:00 2001 From: OscarRui <79144467+OscarRui@users.noreply.github.com> Date: Mon, 12 Apr 2021 17:21:59 +0200 Subject: [PATCH] Add files via upload --- panel_manager/edit_sessions.php | 16 ++++++++-------- panel_manager/manage_rooms.php | 18 +++++++++--------- panel_manager/manage_sessions.php | 12 ++++++------ 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/panel_manager/edit_sessions.php b/panel_manager/edit_sessions.php index faafca8..eb970ef 100644 --- a/panel_manager/edit_sessions.php +++ b/panel_manager/edit_sessions.php @@ -1,16 +1,16 @@ getArray(); + $filmList = new Film_DAO('complucine'); + $films = $filmList->allFilmData(); //DISCLAIMER; sabemos que si se edita la ulr se pueden acceder a datos de una sesion que no pertenece al usuario y que incluso puede hasta editarlas/borrarlas en la base de datos if(isset($_REQUEST['option']) && $_REQUEST['option'] == 'edit') { @@ -29,10 +29,10 @@ "; foreach($rooms as $r){ - if($r->getid() == $placeholder_hall){ + if($r->getNumber() == $placeholder_hall){ echo " - "; + "; }else{ echo " - "; + "; } }