diff --git a/htdocs/contrat/card.php b/htdocs/contrat/card.php index 9693ee2a7a6..7778a6041f5 100644 --- a/htdocs/contrat/card.php +++ b/htdocs/contrat/card.php @@ -2088,7 +2088,7 @@ if ($action == 'create') } if (! empty($conf->global->CONTRACT_HIDE_CLOSED_SERVICES_BY_DEFAULT) && $object->nbofservicesclosed > 0) { - if($action == 'showclosedlines') print '
'.$langs->trans("HideClosedServices").'
'; + if ($action == 'showclosedlines') print '
'.$langs->trans("HideClosedServices").'
'; else print '
'.$langs->trans("ShowClosedServices").'
'; } // On peut supprimer entite si