Index: branches/5.2.x/units/products/products_tag_processor.php =================================================================== diff -u -N -r15854 -r16315 --- branches/5.2.x/units/products/products_tag_processor.php (.../products_tag_processor.php) (revision 15854) +++ branches/5.2.x/units/products/products_tag_processor.php (.../products_tag_processor.php) (revision 16315) @@ -1,6 +1,6 @@ Application->GetVar('NamesToSpecialMapping', Array ()); - - if($this->Application->GetVar('search_type') == 'advanced' || !getArrayValue($names_mapping, $this->Prefix, 'search_results')) - { + if ( $this->Application->GetVar('search_type') == 'advanced' + || !getArrayValue($this->nameToSpecialMapping, 'search_results') + ) { $params = Array('list_name' => 'search_results', 'types' => 'search', 'parent_cat_id' => 'any', @@ -858,4 +857,4 @@ return $url; } -} \ No newline at end of file +}