Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/visits/visits_tag_processor.php
Show First 20 Lines • Show All 165 Lines • ▼ Show 20 Line(s) | |||||
$list_name = $this->SelectParam($params, 'list_name,name'); | $list_name = $this->SelectParam($params, 'list_name,name'); | ||||
if ( !$list_name ) { | if ( !$list_name ) { | ||||
$list_name = $this->Application->Parser->GetParam('list_name'); | $list_name = $this->Application->Parser->GetParam('list_name'); | ||||
} | } | ||||
$types = $this->SelectParam($params, 'types'); | $types = $this->SelectParam($params, 'types'); | ||||
if ( $types == 'myvisitororders' || $types == 'myvisitors' ) { | if ( $types == 'myvisitororders' || $types == 'myvisitors' ) { | ||||
$special = 'incommerce'; | $this->nameToSpecialMapping[$list_name] = 'incommerce'; | ||||
$names_mapping = $this->Application->GetVar('NamesToSpecialMapping', Array ()); | |||||
$names_mapping[$this->Prefix][$list_name] = $special; | |||||
$this->Application->SetVar('NamesToSpecialMapping', $names_mapping); | |||||
} | } | ||||
return parent::GetList($params); | return parent::GetList($params); | ||||
} | } | ||||
} | } | ||||
No newline at end of file |