From a6c9f7e5d3edfb126e1cd52e5c4f59c129126e5c Mon Sep 17 00:00:00 2001 From: jbousquie Date: Wed, 30 Nov 2016 10:02:29 +0100 Subject: [PATCH] fix niveau --- admin/recup_comptes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/recup_comptes.php b/admin/recup_comptes.php index 9e7a435..3544161 100644 --- a/admin/recup_comptes.php +++ b/admin/recup_comptes.php @@ -7,7 +7,7 @@ $username = Username(); // test profil utilisateur $profil = Profil($username); FiltreProfil($profil); -if ($profil < 2) { +if ($profil < $niveaux[$roles[3]]) { header('Location: '.$winlog_url); }