Fixes #3382, class L10n locale mapping missed

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5794 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-10-19 07:29:39 +00:00
parent 9fdd1c3630
commit 160751a9d4

View file

@ -373,7 +373,7 @@ class L10n extends Object {
}
if ($this->default) {
$this->languagePath[2] = $this->__l10nCatalog[$this->default]['localeFallback'];
$this->languagePath[2] = $this->__l10nCatalog[$this->__l10nMap[$this->default]]['localeFallback'];
}
$this->found = true;
Configure::write('Config.language', $this->lang);