mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Adding fix for Ticket #2235
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4657 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
330630c9d0
commit
3b90fdbe2e
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class I18n extends Object {
|
||||||
$_this =& I18n::getInstance();
|
$_this =& I18n::getInstance();
|
||||||
$_this->category = $_this->__categories[$category];
|
$_this->category = $_this->__categories[$category];
|
||||||
|
|
||||||
if(is_null($domain) && $_this->__l10n->found === false) {
|
if($_this->__l10n->found === false) {
|
||||||
$language = Configure::read('Config.language');
|
$language = Configure::read('Config.language');
|
||||||
|
|
||||||
if($language === null && !empty($_SESSION['Config']['language'])) {
|
if($language === null && !empty($_SESSION['Config']['language'])) {
|
||||||
|
|
Loading…
Reference in a new issue