diff options
| author | emkael <emkael@tlen.pl> | 2016-06-08 17:18:30 +0200 |
|---|---|---|
| committer | emkael <emkael@tlen.pl> | 2016-06-10 11:46:41 +0200 |
| commit | 817d6fd42eb3ac0d1ee9a73fe5e5a4b1ec21da05 (patch) | |
| tree | edb25136792eb69669ac6d0c10ed7f03afb9b4b9 /lib/prado/framework/I18N/Translation.php | |
| parent | 6ab01ff111f2aca0786f4fd45df25ea6ad9be1ca (diff) | |
* r87cdee4 from emkael/prado
Diffstat (limited to 'lib/prado/framework/I18N/Translation.php')
| -rw-r--r-- | lib/prado/framework/I18N/Translation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prado/framework/I18N/Translation.php b/lib/prado/framework/I18N/Translation.php index 4e244a4..f22a68f 100644 --- a/lib/prado/framework/I18N/Translation.php +++ b/lib/prado/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()); |
