summaryrefslogtreecommitdiff
path: root/framework/I18N/Translation.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-06-08 16:21:13 +0200
committeremkael <emkael@tlen.pl>2016-06-08 16:21:13 +0200
commit87cdee402bf6766a061fa926528c5bcc51957bbb (patch)
treeec3838596c2f33a860321f96056cef3726492db5 /framework/I18N/Translation.php
parentbd4929d6eace0b55e35a37dbbc0f43cbedc9f1ea (diff)
Allowing translation message cache to be initialized (and used)
Diffstat (limited to 'framework/I18N/Translation.php')
-rw-r--r--framework/I18N/Translation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/I18N/Translation.php b/framework/I18N/Translation.php
index 4e244a49..f22a68f0 100644
--- a/framework/I18N/Translation.php
+++ b/framework/I18N/Translation.php
@@ -51,7 +51,7 @@ class Translation extends TComponent
$source->setCulture($app->getCulture());
- if(TPropertyValue::ensureBoolean($config['cache']))
+ if(isset($config['cache']))
$source->setCache(new MessageCache($config['cache']));
self::$formatters[$catalogue] = new MessageFormat($source, $app->getCharset());