From 131673abd2f02c24e3bb6afe8a80ccfba5980842 Mon Sep 17 00:00:00 2001 From: jbousquie Date: Wed, 30 Nov 2016 10:01:37 +0100 Subject: [PATCH] fix niveau --- admin/stop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/stop.php b/admin/stop.php index 98bc974..18b8a30 100644 --- a/admin/stop.php +++ b/admin/stop.php @@ -10,7 +10,7 @@ $username = Username(); $profil = Profil($username); FiltreProfil($profil); -if ($profil == 2) { +if ($profil == $niveaux[$roles[3]]) { $act = ""; $logout = "fermer la session";