From f64ad71924759ffba09a077024979d440df664a0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 28 Jan 2020 02:50:11 +0100 Subject: [PATCH] Missing country code --- htdocs/core/lib/functions.lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 60b19fed58f..e4a200fceff 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -5946,7 +5946,8 @@ function getCommonSubstitutionArray($outputlangs, $onlykey = 0, $exclude = null, '__MYCOMPANY_TOWN__' => $mysoc->town, '__MYCOMPANY_COUNTRY__' => $mysoc->country, '__MYCOMPANY_COUNTRY_ID__' => $mysoc->country_id, - '__MYCOMPANY_CURRENCY_CODE__' => $conf->currency + '__MYCOMPANY_COUNTRY_CODE__' => $mysoc->country_code, + '__MYCOMPANY_CURRENCY_CODE__' => $conf->currency )); }