]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/baculum/framework/I18N/Translation.php
baculum: New Baculum API and Baculum Web
[bacula/bacula] / gui / baculum / framework / I18N / Translation.php
index 9592ef53c0d9aaff4b2432efc4c81c9e05d58a1a..f22a68f0b6b7e32b16b69f5b7c853b616ae157cd 100644 (file)
@@ -3,9 +3,9 @@
  * Translation, static.
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2014 PradoSoft
- * @license http://www.pradosoft.com/license/
+ * @link https://github.com/pradosoft/prado
+ * @copyright Copyright &copy; 2005-2016 The PRADO Group
+ * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
  * @package System.I18N
  */
 
@@ -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());