diff --git a/htdocs/core/lib/company.lib.php b/htdocs/core/lib/company.lib.php index 6b39670fb77..ffb8cb68618 100644 --- a/htdocs/core/lib/company.lib.php +++ b/htdocs/core/lib/company.lib.php @@ -537,7 +537,7 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='') print "\n".'
| '.$langs->trans("Name").' | '; print ''.$langs->trans("Poste").' | '; @@ -552,11 +552,16 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='') $colspan++; print ''; } + if ($user->rights->societe->contact->creer) + { + $colspan++; + print ' | '; + } print " | '; + print ' | '; print img_picto($langs->trans("Address"), 'object_address.png'); print ' | '; @@ -677,16 +682,17 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='') print "