From f88df60073d2bb33f8d69663453964f94662b8d7 Mon Sep 17 00:00:00 2001 From: jbousquie Date: Wed, 30 Nov 2016 10:08:29 +0100 Subject: [PATCH] fix niveau --- admin/salles/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/salles/index.php b/admin/salles/index.php index ac0641f..1e73ae3 100644 --- a/admin/salles/index.php +++ b/admin/salles/index.php @@ -9,7 +9,7 @@ include_once('../session.php'); $username = Username(); $profil = Profil($username); FiltreProfil($profil); -$admin = ($profil == 2); +$admin = ($profil == $niveaux[$roles[3]]); // récupération de la salle demandée $salle = addslashes($_GET['salle']);