From 550c57d53ed1760f31811efc51cf459c956d0671 Mon Sep 17 00:00:00 2001 From: BB2A Anthony Berton Date: Mon, 27 Jun 2022 08:45:38 +0200 Subject: [PATCH] FIX - php V8 composition card --- htdocs/product/composition/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }