fix niveau

This commit is contained in:
jbousquie 2016-11-30 10:03:03 +01:00
parent a6c9f7e5d3
commit 68a7dd37dc

View File

@ -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);
}