From 64f67eebb3306d0a65d4955c02f2afdfe1d902c3 Mon Sep 17 00:00:00 2001 From: jbousquie Date: Wed, 30 Nov 2016 09:57:22 +0100 Subject: [PATCH] fix niveau --- admin/scripts_clients.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } ?>