mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
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:
parent
9fdd1c3630
commit
160751a9d4
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ class L10n extends Object {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->default) {
|
if ($this->default) {
|
||||||
$this->languagePath[2] = $this->__l10nCatalog[$this->default]['localeFallback'];
|
$this->languagePath[2] = $this->__l10nCatalog[$this->__l10nMap[$this->default]]['localeFallback'];
|
||||||
}
|
}
|
||||||
$this->found = true;
|
$this->found = true;
|
||||||
Configure::write('Config.language', $this->lang);
|
Configure::write('Config.language', $this->lang);
|
||||||
|
|
Loading…
Add table
Reference in a new issue