fix niveau

This commit is contained in:
jbousquie committed 2016-11-30 10:00:18 +01:00
1 parent 3aa8f87df2
commit d42e846da7
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ $username = Username();
// test profil utilisateur
$profil = Profil($username);
FiltreProfil($profil);
$admin = ($profil == 2);
$admin = ($profil == $niveaux[$roles[3]]);
// si le script est appelé sans paramètre, on quitte aussi
$host = $_GET['id'];