Permalink
Browse files

Avoid reparsing locale definition file.

  • Loading branch information...
1 parent f750c7d commit fc47bf9e1ddf616df02fe747581b9d1c7f9786e0 @ADmad ADmad committed Aug 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/I18n/I18n.php
View
@@ -326,7 +326,7 @@ protected function _bindTextDomain($domain) {
if (is_file($localeDef)) {
$definitions = self::loadLocaleDefinition($localeDef);
if ($definitions !== false) {
- $this->_domains[$domain][$this->_lang][$this->category] = self::loadLocaleDefinition($localeDef);
+ $this->_domains[$domain][$this->_lang][$this->category] = $definitions;
$this->_noLocale = false;
return $domain;
}

0 comments on commit fc47bf9

Please sign in to comment.