diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php index f46b6d0268c..bae064bef34 100644 --- a/htdocs/adherents/type.php +++ b/htdocs/adherents/type.php @@ -200,7 +200,10 @@ if (! $rowid && $action != 'create' && $action != 'edit') print ''.dol_escape_htmltag($objp->libelle).''; print ''.yn($objp->cotisation).''; print ''.yn($objp->vote).''; - print 'rowid.'">'.img_edit().''; + if ($user->rights->adherent->configurer) + print 'rowid.'">'.img_edit().''; + else + print ' '; print ""; $i++; }