Bug in /includes/lang/gettext.php (249) affecting changing language!
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Tue, 21 Aug 2007 23:33:43 +0000 (23:33 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Tue, 21 Aug 2007 23:33:43 +0000 (23:33 +0000)
CHANGELOG.txt
includes/lang/gettext.php

index b1c4510621e304113b39e7118f6ddd9a3667f3a4..ed03cdffa2cdd9e2fc4c67c922ab2ff340b3d320 100644 (file)
@@ -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
index 58bd1139d8ab4e40333d3188c05e84f5c91b7680..7bdb69a8636553aa17bd907f20d2f8a4f706b161 100644 (file)
@@ -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) 
         {