From 486047c357b2405cf553366f44cbf15e8db84755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Fri, 18 Oct 2019 23:14:43 +0200 Subject: [PATCH] Update box_produits.php --- htdocs/core/boxes/box_produits.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/core/boxes/box_produits.php b/htdocs/core/boxes/box_produits.php index a66b775155c..23c4cc368cf 100644 --- a/htdocs/core/boxes/box_produits.php +++ b/htdocs/core/boxes/box_produits.php @@ -144,7 +144,8 @@ class box_produits extends ModeleBoxes 'td' => 'class="tdoverflowmax100 maxwidth100onsmartphone"', 'text' => $objp->label, ); - + $price = ''; + $price_base_type = ''; if (empty($conf->dynamicprices->enabled) || empty($objp->fk_price_expression)) { $price_base_type=$langs->trans($objp->price_base_type); $price=($objp->price_base_type == 'HT')?price($objp->price):$price=price($objp->price_ttc);