fix niveau

This commit is contained in:
jbousquie 2016-11-30 10:02:29 +01:00
parent 131673abd2
commit a6c9f7e5d3

View File

@ -7,7 +7,7 @@ $username = Username();
// test profil utilisateur
$profil = Profil($username);
FiltreProfil($profil);
if ($profil < 2) {
if ($profil < $niveaux[$roles[3]]) {
header('Location: '.$winlog_url);
}