Modification appel moncompte
This commit is contained in:
parent
8fc8228186
commit
1e3b24f7b9
@ -74,8 +74,6 @@ case 'recherche':
|
||||
require_once realpath(dirname(__FILE__)).'/pages/main.php';
|
||||
break;
|
||||
case 'moncompte':
|
||||
|
||||
|
||||
if (isset($_REQUEST['frmOptions'])) {
|
||||
$tabOptions = $_REQUEST['frmOptions'];
|
||||
}
|
||||
@ -95,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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user