From 3aa8f87df2358439dc2a78171c2d0f2bd7702f6d Mon Sep 17 00:00:00 2001 From: jbousquie Date: Wed, 30 Nov 2016 09:58:08 +0100 Subject: [PATCH] fix niveau --- admin/genere_vbs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/genere_vbs.php b/admin/genere_vbs.php index 57e3858..8bc45bc 100644 --- a/admin/genere_vbs.php +++ b/admin/genere_vbs.php @@ -12,7 +12,7 @@ function Quitte() { Quitte(); } -if ($profil < 2 OR !isset($_GET["f"])) { +if ($profil < $niveaux[$roles[3]] OR !isset($_GET["f"])) { }