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:
phpnut 2007-03-23 09:09:28 +00:00
parent 330630c9d0
commit 3b90fdbe2e

View file

@ -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'])) {