summaryrefslogtreecommitdiff
path: root/framework/I18N/TGlobalizationAutoDetect.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/I18N/TGlobalizationAutoDetect.php')
-rw-r--r--framework/I18N/TGlobalizationAutoDetect.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/I18N/TGlobalizationAutoDetect.php b/framework/I18N/TGlobalizationAutoDetect.php
index 6cf17bcb..3d550a62 100644
--- a/framework/I18N/TGlobalizationAutoDetect.php
+++ b/framework/I18N/TGlobalizationAutoDetect.php
@@ -21,7 +21,7 @@ class TGlobalizationAutoDetect extends TGlobalization
$http = new HTTPNegotiator();
$languages = $http->getLanguages();
if(count($languages) > 0)
- $this->Culture = $languages[0];
+ $this->setCulture($languages[0]);
}
}