Index: trunk/core/kernel/db/db_tag_processor.php =================================================================== diff -u -r3597 -r3635 --- trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 3597) +++ trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 3635) @@ -177,7 +177,7 @@ $names_mapping = $this->Application->GetVar('NamesToSpecialMapping'); - if( !getArrayValue($names_mapping,$list_name) ) + if( !getArrayValue($names_mapping, $this->Prefix, $list_name) ) { $list =& $this->GetList($params); } @@ -205,7 +205,7 @@ if ($list_name && !$requery){ $names_mapping = $this->Application->GetVar('NamesToSpecialMapping'); - $special = getArrayValue($names_mapping, $list_name); + $special = getArrayValue($names_mapping, $this->Prefix, $list_name); if(!$special) { $special = $this->BuildListSpecial($params); @@ -218,15 +218,15 @@ $prefix_special = rtrim($this->Prefix.'.'.$special, '.'); $params['skip_counting'] = true; - $list =& $this->Application->recallObject( $prefix_special, $this->Prefix.'_List',$params); + $list =& $this->Application->recallObject( $prefix_special, $this->Prefix.'_List', $params); if ($requery) { $this->Application->HandleEvent($an_event, $prefix_special.':OnListBuild', $params); } $list->Query($requery); $this->Special = $special; if ($list_name) { - $names_mapping[$list_name] = $special; + $names_mapping[$this->Prefix][$list_name] = $special; $this->Application->SetVar('NamesToSpecialMapping', $names_mapping); }