diff --git a/htdocs/core/lib/company.lib.php b/htdocs/core/lib/company.lib.php
index 66a756e8c9a..6f0f8d8b35d 100644
--- a/htdocs/core/lib/company.lib.php
+++ b/htdocs/core/lib/company.lib.php
@@ -842,42 +842,39 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
$colspan=9;
- if ($num || (GETPOST('button_search','alpha') || GETPOST('button_search.x','alpha') || GETPOST('button_search_x','alpha')))
- {
- print '
';
+ print '
';
- // Photo - Name
- print '| ';
- print '';
- print ' | ';
+ // Photo - Name
+ print '';
+ print '';
+ print ' | ';
- // Position
- print '';
- print ' | ';
+ // Position
+ print '';
+ print ' | ';
- // Address - Phone - Email
- print ' | ';
+ // Address - Phone - Email
+ print ' | ';
- // Status
- print '';
- print $form->selectarray('search_status', array('-1'=>'','0'=>$contactstatic->LibStatut(0,1),'1'=>$contactstatic->LibStatut(1,1)),$search_status);
- print ' | ';
+ // Status
+ print '';
+ print $form->selectarray('search_status', array('-1'=>'','0'=>$contactstatic->LibStatut(0,1),'1'=>$contactstatic->LibStatut(1,1)),$search_status);
+ print ' | ';
- // Add to agenda
- if (! empty($conf->agenda->enabled) && $user->rights->agenda->myactions->create)
- {
- $colspan++;
- print ' | ';
- }
+ // Add to agenda
+ if (! empty($conf->agenda->enabled) && $user->rights->agenda->myactions->create)
+ {
+ $colspan++;
+ print ' | ';
+ }
- // Action
- print '';
- $searchpicto=$form->showFilterButtons();
- print $searchpicto;
- print ' | ';
+ // Action
+ print '';
+ $searchpicto=$form->showFilterButtons();
+ print $searchpicto;
+ print ' | ';
- print "
";
- }
+ print "";
$titlefieldaddress=$langs->trans("Address").' / '.$langs->trans("Phone").' / '.$langs->trans("Email");
if (! empty($conf->dol_optimize_smallscreen)) $titlefieldaddress=$langs->trans("Address");