diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index 19f4eb1040e..0529ee062d5 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -1363,17 +1363,20 @@ if ($rowid && $action != 'edit') print '
| '; print $langs->trans("LinkedToDolibarrUser"); print ' | '; - if ($_GET['action'] != 'editlogin' && $user->rights->adherent->creer) print 'id.'">'.img_edit($langs->trans('SetLinkToUser'),1).' | '; + if ($_GET['action'] != 'editlogin' && $user->rights->adherent->creer) + { + print ''; + if ($user->rights->user->user->creer) + { + print 'id.'">'.img_edit($langs->trans('SetLinkToUser'),1).''; + } + print ' | '; + } print '