Index: branches/unlabeled/unlabeled-1.69.2/core/kernel/processors/main_processor.php =================================================================== diff -u -r8254 -r8299 --- branches/unlabeled/unlabeled-1.69.2/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 8254) +++ branches/unlabeled/unlabeled-1.69.2/core/kernel/processors/main_processor.php (.../main_processor.php) (revision 8299) @@ -130,24 +130,9 @@ function FormAction($params) { - $pass_category = true; - $category_id = $this->Application->GetVar('m_cat_id'); - - if ($category_id > 0) { - $category = $this->Application->recallObject('c'); - /* @var $category kDBItem */ - - $t = $this->Application->GetVar('t'); - if (preg_match('/Content\/'.preg_quote($t, '/').'/i', $category->GetDBField('NamedParentPath'))) { - // category name matches template name -> Proj-CMS/In-Edit tricks - $pass_category = false; - } - } - $params['pass'] = 'all,m'; - if ($pass_category) { - $params['pass_category'] = 1; - } + $params['pass_category'] = 1; + return $this->Application->HREF('', '', $params); }