Index: branches/5.1.x/core/units/categories/categories_tag_processor.php =================================================================== diff -u -N -r13951 -r13987 --- branches/5.1.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 13951) +++ branches/5.1.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 13987) @@ -1,6 +1,6 @@ Application->findModule('Name', 'Core', 'RootCat'); - } - - return $root_category; + return $this->Application->getBaseCategory(); } /** @@ -620,7 +614,7 @@ */ function ModuleRootCategory($params) { - return $this->Application->GetVar('m_cat_id') == $this->HomeCategory($params); + return $this->Application->GetVar('m_cat_id') == $this->Application->getBaseCategory(); } function CatalogItemCount($params)