DataObjects/Core_template.php
authorAlan Knowles <alan@roojs.com>
Fri, 4 Dec 2020 05:01:18 +0000 (13:01 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 4 Dec 2020 05:01:18 +0000 (13:01 +0800)
DataObjects/Core_template.php

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