diff --git a/admin/recup_salles.php b/admin/recup_salles.php index 22f0f9b..4b37376 100644 --- a/admin/recup_salles.php +++ b/admin/recup_salles.php @@ -9,7 +9,7 @@ $username = Username(); // test profil utilisateur $profil = Profil($username); FiltreProfil($profil); -if ($profil < 2) { +if ($profil < $niveaux[$roles[3]]) { header('Location: '.$winlog_url); }