DataObjects/Core_template.php
authorAlan Knowles <alan@roojs.com>
Fri, 4 Dec 2020 04:59:31 +0000 (12:59 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 4 Dec 2020 04:59:31 +0000 (12:59 +0800)
DataObjects/Core_template.php

index 8bf3ec9..56256aa 100644 (file)
@@ -410,7 +410,7 @@ WHERE (
             return; // already sent headers and everything.
         }
         setlocale(LC_MESSAGES, $lang);
-        
+        putenv("LC_ALL=$lang");
         $clsname = strtolower($clsname);
         $d = DB_DataObject::factory($this->tableName());
         $d->whereAdd("