Index: branches/5.2.x/core/units/categories/categories_tag_processor.php =================================================================== diff -u -N -r14699 -r14714 --- branches/5.2.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 14699) +++ branches/5.2.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 14714) @@ -1,6 +1,6 @@ Application->recallObject('ModRewriteHelper'); - /* @var $mod_rewrite_helper kModRewriteHelper */ + $rewrite_processor = $this->Application->recallObject('kRewriteUrlProcessor'); + /* @var $rewrite_processor kRewriteUrlProcessor */ $category_params = Array ( - 'CategoryId' => $object->GetID(), - 'ParentPath' => $object->GetDBField('ParentPath'), + 'CategoryId' => $object->GetID(), + 'ParentPath' => $object->GetDBField('ParentPath'), ); - $item_template = $mod_rewrite_helper->GetItemTemplate($category_params, $module_info['Var']); + $item_template = $rewrite_processor->GetItemTemplate($category_params, $module_info['Var']); if ($this->Application->GetVar('t') == $item_template) { // we are located on item's details page @@ -452,7 +452,7 @@ list($index_file, $env) = explode('|', $this->Application->RecallVar(rtrim('last_template_'.$wid, '_')), 2); $vars_backup = Array (); - $vars = $this->Application->HttpQuery->processQueryString( str_replace('%5C', '\\', $env) ); + $vars = $this->Application->processQueryString( str_replace('%5C', '\\', $env) ); foreach ($vars as $var_name => $var_value) { $vars_backup[$var_name] = $this->Application->GetVar($var_name);