diff --git a/admin/stop.php b/admin/stop.php index 98bc974..18b8a30 100644 --- a/admin/stop.php +++ b/admin/stop.php @@ -10,7 +10,7 @@ $username = Username(); $profil = Profil($username); FiltreProfil($profil); -if ($profil == 2) { +if ($profil == $niveaux[$roles[3]]) { $act = ""; $logout = "fermer la session";