summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/TApplication.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/TApplication.php b/framework/TApplication.php
index 703dae17..acfb8d2a 100644
--- a/framework/TApplication.php
+++ b/framework/TApplication.php
@@ -938,7 +938,10 @@ class TApplication extends TComponent
public function getGlobalization($createIfNotExists=true)
{
if($this->_globalization===null && $createIfNotExists)
+ {
$this->_globalization=new TGlobalization;
+ $this->_globalization->init(null);
+ }
return $this->_globalization;
}