mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
"Fixes #3738, Inconsistencies with default languages and mappings in L10n.php"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6217 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
9b117fc4d6
commit
d58b906f5c
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ class L10n extends Object {
|
|||
$this->charset = $this->__l10nCatalog[$langKey]['charset'];
|
||||
|
||||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue