diff --git a/htdocs/compta/commande/fiche.php b/htdocs/compta/commande/fiche.php
index ac6fa6c8c54..2f8a808e15e 100644
--- a/htdocs/compta/commande/fiche.php
+++ b/htdocs/compta/commande/fiche.php
@@ -526,7 +526,7 @@ if ($_GET["id"] > 0)
$num = $db->num_rows($result);
if ($num)
{
- print '
';
+ if ($somethingshown) print '
';
print_titre($langs->trans("RelatedBills"));
$i = 0; $total = 0;
print '