diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php
index be36c58573b..cfe6ff817f7 100644
--- a/htdocs/comm/card.php
+++ b/htdocs/comm/card.php
@@ -409,8 +409,8 @@ if ($object->id > 0)
print '';
print '
';
$amount_discount=$object->getAvailableDiscounts();
- if ($amount_discount < 0) dol_print_error($db,$object->error);
- if ($amount_discount > 0) print 'id).'">'.price($amount_discount,1,$langs,1,-1,-1,$conf->currency).'';
+ if ($amount_discount < 0) dol_print_error($db, $object->error);
+ if ($amount_discount > 0) print 'id).'">'.price($amount_discount, 1, $langs, 1, -1, -1, $conf->currency).'';
//else print $langs->trans("DiscountNone");
print ' | ';
print '';