Index: branches/unlabeled/unlabeled-1.28.2/kernel/units/categories/categories_tag_processor.php =================================================================== diff -u -r5614 -r5615 --- branches/unlabeled/unlabeled-1.28.2/kernel/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 5614) +++ branches/unlabeled/unlabeled-1.28.2/kernel/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 5615) @@ -430,6 +430,17 @@ } return 0; } + + /** + * Allows to detect if root category being edited + * + * @param Array $params + */ + function IsRootCategory($params) + { + $object =& $this->getObject($params); + return $object->IsRoot(); + } }