Index: branches/unlabeled/unlabeled-1.56.2/kernel/include/category.php =================================================================== diff -u -r5651 -r5656 --- branches/unlabeled/unlabeled-1.56.2/kernel/include/category.php (.../category.php) (revision 5651) +++ branches/unlabeled/unlabeled-1.56.2/kernel/include/category.php (.../category.php) (revision 5656) @@ -1383,8 +1383,9 @@ return $this->Get("ParentId"); break; case "cat_fullpath": - return $this->Get("CachedNavbar"); + return $this->GetNavbar(); break; + case "cat_name": return $this->Get($this->TitleField); break; @@ -1495,7 +1496,7 @@ } } - function ParentNames() + /*function ParentNames() { global $objCatList; @@ -1523,9 +1524,9 @@ $this->Set("CachedNavbar",$nav); $this->Update(); } - $res = explode(">",$this->Get("CachedNavbar")); + $res = explode("&|&",$this->Get("CachedNavbar")); return $res; - } + }*/ // not used anywhere /* function UpdateCacheCounts() @@ -2440,7 +2441,9 @@ $rs->MoveNext(); } - $rs = $this->adodbConnection->Execute("SELECT * FROM ".$this->SourceTable." WHERE CachedNavbar IS NULL or CachedNavBar=''"); + $ml_formatter =& $this->Application->recallObject('kMultiLanguage'); + $navbar_field = $ml_formatter->LangFieldName('CachedNavbar'); + $rs = $this->adodbConnection->Execute('SELECT * FROM '.$this->SourceTable.' WHERE '.$navbar_field.' IS NULL OR '.$navbar_field.' = ""'); while($rs && !$rs->EOF) { $c = new clsCategory(NULL);