correction accès mes options

This commit is contained in:
Michael RICOIS 2010-04-27 13:50:16 +00:00
parent 1e3b24f7b9
commit ca0079f0b7

View File

@ -93,8 +93,8 @@ case 'moncompte':
$_SESSION['tabInfo']['formatMail'] = $tabOptions['formatMail'];
}
$title = 'Profil utilisateur';
if ( ($_SESSION['tabInfo']['profil']=='Administrateur' ||
$_SESSION['tabInfo']['profil']=='SuperAdministrateur' ) &&
if ($_SESSION['tabInfo']['profil']=='Administrateur' ||
$_SESSION['tabInfo']['profil']=='SuperAdministrateur' ||
hasPerm('monprofil')) {
$page2 = 'moncompte.php';
} else {