retirer la possibilité de décocher la case mon profil lorsque administrateur, issue #0001156
This commit is contained in:
parent
71d19f1948
commit
376b352d4a
@ -165,7 +165,7 @@ foreach ($this->droitsClients as $droit) {
|
|||||||
$check = ' checked';
|
$check = ' checked';
|
||||||
}
|
}
|
||||||
$disable = '';
|
$disable = '';
|
||||||
if (!$this->isAdmin) {
|
if ( !$this->isAdmin || ($this->isAdmin && strtolower($droit)=='monprofil') ) {
|
||||||
$disable = ' disabled';
|
$disable = ' disabled';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user