From e8f4b88426aa8d3931626908b29940ee03b126f0 Mon Sep 17 00:00:00 2001 From: OscarRui <79144467+OscarRui@users.noreply.github.com> Date: Thu, 27 May 2021 10:17:57 +0200 Subject: [PATCH] Add files via upload --- panel_manager/panel_manager.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/panel_manager/panel_manager.php b/panel_manager/panel_manager.php index 5eb13b1..59d0cc7 100644 --- a/panel_manager/panel_manager.php +++ b/panel_manager/panel_manager.php @@ -14,10 +14,10 @@ static function welcome($manager){ $bd = new Cinema_DAO('complucine'); if($bd){ - $cinema = ($bd->cinemaData($manager->getIdcinema())); - $c_name = $cinema->getId(); - $c_dir = $cinema->getId(); - $c_tel = $cinema->getId(); + $cinema = $bd->cinemaData($manager->getIdcinema()); + $c_name = $cinema->getName(); + $c_dir = $cinema->getDirection(); + $c_tel = $cinema->getPhone(); } $name = strtoupper($_SESSION["nombre"]); $cinema = strtoupper( $manager->getIdcinema());