From 68a7dd37dc52bbc0093e52b3f9b3ab59f5f65b2e Mon Sep 17 00:00:00 2001 From: jbousquie Date: Wed, 30 Nov 2016 10:03:03 +0100 Subject: [PATCH] fix niveau --- admin/recup_salles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }