FIX: propal pdf: missing parenthesis for customs code

This commit is contained in:
Marc de Lima Lucio 2018-10-12 18:19:17 +02:00
parent 2fdc1a9883
commit afd9b4ea1a

View File

@ -868,6 +868,7 @@ if (empty($reshook))
// Add custom code and origin country into description
if (empty($conf->global->MAIN_PRODUCT_DISABLE_CUSTOMCOUNTRYCODE) && (! empty($prod->customcode) || ! empty($prod->country_code)))
{
$tmptxt = '(';
// Define output language
if (! empty($conf->global->MAIN_MULTILANGS) && ! empty($conf->global->PRODUIT_TEXTS_IN_THIRDPARTY_LANGUAGE)) {
$outputlangs = $langs;