diff --git a/manager/Authentification.php b/manager/Authentification.php index 84bcace..bdfb351 100644 --- a/manager/Authentification.php +++ b/manager/Authentification.php @@ -91,8 +91,9 @@ /* (2) On met à jour les informations de l'entrepot */ $_SESSION['WAREHOUSE'] = [ - 'id' => (int) $checkRoot->answer()[0]['id_warehouse'], - 'name' => $checkRoot->answer()[0]['name'] + 'id' => (int) $checkRoot->answer()[0]['id_warehouse'], + 'name' => $checkRoot->answer()[0]['name'], + 'theme' => $checkRoot->answer()[0]['theme'] ]; /* (3) On récupère les modules de l'entrepot */ diff --git a/view/admin.php b/view/admin.php index 4892b0a..55ed37b 100644 --- a/view/admin.php +++ b/view/admin.php @@ -91,7 +91,7 @@ } -
+ ;'> diff --git a/view/view.php b/view/view.php index cc44f89..440b0e3 100755 --- a/view/view.php +++ b/view/view.php @@ -35,8 +35,8 @@