From f5695bf2f00d0340c6001a57d94beec1ceb92637 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 5 May 2009 09:28:56 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20le=20superadmin=20ne=20pouvait=20plus=20?= =?UTF-8?q?se=20modifier=20lui=20m=EAme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/user/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/user/fiche.php b/htdocs/user/fiche.php index 0f386009be5..e56fc7c0e59 100644 --- a/htdocs/user/fiche.php +++ b/htdocs/user/fiche.php @@ -1035,7 +1035,7 @@ else print '
'; if ($caneditfield && - (empty($conf->global->MAIN_MODULE_MULTICOMPANY) || ($fuser->entity == $conf->entity)) ) + (empty($conf->global->MAIN_MODULE_MULTICOMPANY) || (($fuser->entity == $conf->entity) || $fuser->entity == $user->entity)) ) { print ''.$langs->trans("Modify").''; }