Index: branches/5.1.x/core/units/categories/categories_tag_processor.php =================================================================== diff -u -N -r13086 -r13159 --- branches/5.1.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 13086) +++ branches/5.1.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 13159) @@ -1,6 +1,6 @@ Prefix.']['.$params['event'].']'; + return 'events[' . $this->Prefix . '][' . $params['event'] . ']'; } /** @@ -872,23 +872,9 @@ function PageLink($params) { - $t = isset($params['template']) ? $params['template'] : ''; - unset($params['template']); + $params['m_cat_page'] = $this->Application->GetVar($this->getPrefixSpecial() . '_Page'); - if (!$t) $t = $this->Application->GetVar('t'); - - if (isset($params['page'])) { - $this->Application->SetVar($this->getPrefixSpecial().'_Page', $params['page']); - unset($params['page']); - } - - $params['m_cat_page'] = $this->Application->GetVar($this->getPrefixSpecial().'_Page'); - - if (!isset($params['pass'])) { - $params['pass'] = 'm,'.$this->getPrefixSpecial(); - } - - return $this->Application->HREF($t, '', $params); + return parent::PageLink($params); } /**