diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index a3b9dc5e521..cf2af05b970 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -1341,16 +1341,19 @@ 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 '