From 160751a9d40021457b8ab2ba2405203bc1da771a Mon Sep 17 00:00:00 2001 From: phpnut Date: Fri, 19 Oct 2007 07:29:39 +0000 Subject: [PATCH] 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 --- cake/libs/l10n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/l10n.php b/cake/libs/l10n.php index edf17ab64..c1b901bc1 100644 --- a/cake/libs/l10n.php +++ b/cake/libs/l10n.php @@ -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);