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

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