From: Joe Hunt Date: Tue, 21 Aug 2007 23:33:43 +0000 (+0000) Subject: Bug in /includes/lang/gettext.php (249) affecting changing language! X-Git-Tag: 2.3-final~1529 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=bcbc8474ddfce8a67ad55266c23a9d49409aec95;p=fa-stable.git Bug in /includes/lang/gettext.php (249) affecting changing language! --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index b1c45106..ed03cdff 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +21-Aug-2007 + # Bug in /includes/lang/gettext.php (249) affecting changing language! + $ /includes/lang/gettext.php + 08-Aug-2007 # Minor adjustments $ config.php diff --git a/includes/lang/gettext.php b/includes/lang/gettext.php index 58bd1139..7bdb69a8 100644 --- a/includes/lang/gettext.php +++ b/includes/lang/gettext.php @@ -246,7 +246,7 @@ class gettext_native_support //$set = setlocale(LC_ALL, "$lang_code"); //$set = setlocale(LC_ALL, "$encoding"); - $set = setlocale(LC_ALL, "$lang_code.".".$encoding"); + $set = setlocale(LC_ALL, $lang_code.".".$encoding); setlocale(LC_NUMERIC, 'C'); // important for numeric presentation etc. if ($set === false) {