Merge pull request #9733 from ATM-Marc/FIX_6.0_propal_customcode

FIX: propal pdf: missing parenthesis for customs code
This commit is contained in:
Laurent Destailleur 2018-10-12 21:14:40 +02:00 committed by GitHub
commit 87f744896d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;