Parches en panel_manager

This commit is contained in:
OscarRui 2021-05-27 10:13:12 +02:00 committed by GitHub
parent 571d28fc19
commit b80f870ca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,10 +14,10 @@
static function welcome($manager){
$bd = new Cinema_DAO('complucine');
if($bd){
$cinema = ($bd->cinemaData($manager->getIdcinema()))->fetch_assoc();
$c_name = $cinema["name"];
$c_dir = $cinema["direction"];
$c_tel = $cinema["phone"];
$cinema = ($bd->cinemaData($manager->getIdcinema()));
$c_name = $cinema->getId();
$c_dir = $cinema->getId();
$c_tel = $cinema->getId();
}
$name = strtoupper($_SESSION["nombre"]);
$cinema = strtoupper( $manager->getIdcinema());