Index: branches/RC/kernel/include/category.php =================================================================== diff -u -r8929 -r9335 --- branches/RC/kernel/include/category.php (.../category.php) (revision 8929) +++ branches/RC/kernel/include/category.php (.../category.php) (revision 9335) @@ -333,6 +333,8 @@ $item_template = ''; $ml_helper =& $this->Application->recallObject('kMultiLanguageHelper'); + /* @var $ml_helper kMultiLanguageHelper */ + $language_count = $ml_helper->getLanguageCount(); $primary_lang_id = $this->Application->GetDefaultLanguageId(); @@ -343,6 +345,9 @@ $i = 1; while ($i <= $language_count) { + if (!$ml_helper->LanguageFound($i)) { + continue; + } $nav_parts[$i][] = $rs->fields['l'.$i.'_Name'] ? $rs->fields['l'.$i.'_Name'] : $rs->fields['l'.$primary_lang_id.'_Name']; $i++; }