diff --git a/htdocs/product/composition/card.php b/htdocs/product/composition/card.php index efe03b0b024..8c71f29581b 100644 --- a/htdocs/product/composition/card.php +++ b/htdocs/product/composition/card.php @@ -295,7 +295,7 @@ if ($id > 0 || ! empty($ref)) } else { - print price($object->price).' '.$langs->trans($object->price_base_type); + print price($object->price).' '.$langs->trans($object->price_base_type?$object->price_base_type:'HT'); } print ''; @@ -307,7 +307,7 @@ if ($id > 0 || ! empty($ref)) } else { - print price($object->price_min).' '.$langs->trans($object->price_base_type); + print price($object->price_min).' '.$langs->trans($object->price_base_type?$object->price_base_type:'HT'); } print ''; }