diff --git a/htdocs/product/composition/card.php b/htdocs/product/composition/card.php index 69c872c51a4..8c4c407364f 100644 --- a/htdocs/product/composition/card.php +++ b/htdocs/product/composition/card.php @@ -680,7 +680,7 @@ if ($id > 0 || !empty($ref)) { print ''.$productstatic->getNomUrl(1, '', 24).''; $labeltoshow = $objp->label; - if ($conf->global->MAIN_MULTILANGS && $objp->labelm) { + if (!empty($conf->global->MAIN_MULTILANGS) && !empty($objp->labelm)) { $labeltoshow = $objp->labelm; }