Index: branches/5.0.x/core/admin_templates/categories/xml/tree_categories.tpl =================================================================== diff -u -N -r12561 -r13341 --- branches/5.0.x/core/admin_templates/categories/xml/tree_categories.tpl (.../tree_categories.tpl) (revision 12561) +++ branches/5.0.x/core/admin_templates/categories/xml/tree_categories.tpl (.../tree_categories.tpl) (revision 13341) @@ -5,14 +5,14 @@ name="" href="" icon="img/icons/icon24_section_system.png" - onclick="checkCatalog(, '')" - load_url=""> + onclick="checkCatalog(, '')" + load_url=""> , '')"> + onclick="checkCatalog(, '')"> Index: branches/5.0.x/core/units/categories/categories_tag_processor.php =================================================================== diff -u -N -r13278 -r13341 --- branches/5.0.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 13278) +++ branches/5.0.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 13341) @@ -1,6 +1,6 @@ Application->GetVar('m_cat_id'); } - $category_id = $this->getCategorySymLink( (int)$category_id ); + if (!array_key_exists('direct_link', $params) || !$params['direct_link']) { + $category_id = $this->getCategorySymLink( (int)$category_id ); + } unset($params['cat_id'], $params['module']);