Index: branches/unlabeled/unlabeled-1.31.2/core/units/categories/categories_tag_processor.php =================================================================== diff -u -r6873 -r7014 --- branches/unlabeled/unlabeled-1.31.2/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 6873) +++ branches/unlabeled/unlabeled-1.31.2/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 7014) @@ -373,8 +373,20 @@ return $ret; } + /** + * Parses warning block, but with style="display: none;". Used during permissions saving from AJAX + * + * @param Array $params + * @return string + */ function SaveWarning($params) { + if ($this->Prefix != 'c') { + // don't use this method for other prefixes then Category, that use this tag processor + parent::SaveWarning($params); + return ; + } + $main_prefix = getArrayValue($params, 'main_prefix'); if ($main_prefix && $main_prefix != '$main_prefix') { $top_prefix = $main_prefix;