From aa560db06de3a75e22fac74db00503c20ef06de7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 7 Sep 2022 13:58:24 +0200 Subject: [PATCH] Fix regression --- htdocs/compta/facture/card.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php index f60f1da089d..dd322bd8245 100644 --- a/htdocs/compta/facture/card.php +++ b/htdocs/compta/facture/card.php @@ -2238,7 +2238,7 @@ if (empty($reshook)) { $type = GETPOST('type'); $fk_unit = GETPOST('units', 'alpha'); } - + $pu_ht_devise = price2num($price_ht_devise, 'MU'); // Margin @@ -2287,7 +2287,7 @@ if (empty($reshook)) { if (empty($conf->global->MAIN_DISABLE_PDF_AUTOUPDATE)) { $outputlangs = $langs; $newlang = ''; - if (!empty-$conf->global->MAIN_MULTILANGS) && empty($newlang) && GETPOST('lang_id', 'aZ09')) { + if (!empty($conf->global->MAIN_MULTILANGS) && empty($newlang) && GETPOST('lang_id', 'aZ09')) { $newlang = GETPOST('lang_id', 'aZ09'); } if (!empty($conf->global->MAIN_MULTILANGS) && empty($newlang)) {