fix niveau
This commit is contained in:
parent
f1f1055d45
commit
f88df60073
@ -9,7 +9,7 @@ include_once('../session.php');
|
|||||||
$username = Username();
|
$username = Username();
|
||||||
$profil = Profil($username);
|
$profil = Profil($username);
|
||||||
FiltreProfil($profil);
|
FiltreProfil($profil);
|
||||||
$admin = ($profil == 2);
|
$admin = ($profil == $niveaux[$roles[3]]);
|
||||||
|
|
||||||
// récupération de la salle demandée
|
// récupération de la salle demandée
|
||||||
$salle = addslashes($_GET['salle']);
|
$salle = addslashes($_GET['salle']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user