diff --git a/htdocs/product/composition/card.php b/htdocs/product/composition/card.php index a3b444db6b7..a22b34d5f6f 100644 --- a/htdocs/product/composition/card.php +++ b/htdocs/product/composition/card.php @@ -365,7 +365,7 @@ if ($id > 0 || ! empty($ref)) $total+=$totalline; print ''; - print ($notdefined?'':($value['nb']> 1 ? $value['nb'].'x' : '').price($fourn_unitprice, '', '', 0, 0, -1, $conf->currency)); + print ($notdefined?'':($value['nb']> 1 ? $value['nb'].'x' : '').price($totalline, '', '', 0, 0, -1, $conf->currency)); print ''; // Best selling price