Index: branches/5.2.x/core/units/visits/visits_tag_processor.php =================================================================== diff -u -N -r14628 -r14905 --- branches/5.2.x/core/units/visits/visits_tag_processor.php (.../visits_tag_processor.php) (revision 14628) +++ branches/5.2.x/core/units/visits/visits_tag_processor.php (.../visits_tag_processor.php) (revision 14905) @@ -1,6 +1,6 @@ SelectParam($params, 'list_name,name'); - if (!$list_name) { + if ( !$list_name ) { $list_name = $this->Application->Parser->GetParam('list_name'); } + $types = $this->SelectParam($params, 'types'); - $special=''; - if ($types=='myvisitororders' || $types=='myvisitors'){ + + if ( $types == 'myvisitororders' || $types == 'myvisitors' ) { $special = 'incommerce'; - $names_mapping = $this->Application->GetVar('NamesToSpecialMapping'); + $names_mapping = $this->Application->GetVar('NamesToSpecialMapping', Array ()); $names_mapping[$this->Prefix][$list_name] = $special; $this->Application->SetVar('NamesToSpecialMapping', $names_mapping); - } return parent::GetList($params); } - } \ No newline at end of file