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"])) { }