From 376b352d4ab8dc22ce654860ef49b042a0b9a3ef Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Mon, 16 Apr 2012 14:50:24 +0000 Subject: [PATCH] =?UTF-8?q?retirer=20la=20possibilit=C3=A9=20de=20d=C3=A9c?= =?UTF-8?q?ocher=20la=20case=20mon=20profil=20lorsque=20administrateur,=20?= =?UTF-8?q?issue=20#0001156?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/views/default/scripts/user/index.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/views/default/scripts/user/index.phtml b/application/views/default/scripts/user/index.phtml index 0644339a2..c0a3da813 100644 --- a/application/views/default/scripts/user/index.phtml +++ b/application/views/default/scripts/user/index.phtml @@ -165,7 +165,7 @@ foreach ($this->droitsClients as $droit) { $check = ' checked'; } $disable = ''; - if (!$this->isAdmin) { + if ( !$this->isAdmin || ($this->isAdmin && strtolower($droit)=='monprofil') ) { $disable = ' disabled'; } ?>