diff --git a/admin/scripts_clients.php b/admin/scripts_clients.php index 4d2fb70..a64b78b 100644 --- a/admin/scripts_clients.php +++ b/admin/scripts_clients.php @@ -7,7 +7,7 @@ $username = Username(); $profil = Profil($username); FiltreProfil($profil); -if ($profil < 2) { +if ($profil < $niveaux[$roles[3]]) { header('Location: '.$winlog_url); } ?>