Index: branches/unlabeled/unlabeled-1.68.4/core/kernel/db/db_tag_processor.php =================================================================== diff -u -r7431 -r7432 --- branches/unlabeled/unlabeled-1.68.4/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 7431) +++ branches/unlabeled/unlabeled-1.68.4/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 7432) @@ -451,18 +451,18 @@ function PageLink($params) { $t = isset($params['template']) ? $param['template'] : ''; + unset($params['template']); + if (!$t) $t = $this->Application->GetVar('t'); if (isset($params['page'])) { $this->Application->SetVar($this->getPrefixSpecial().'_Page', $params['page']); + unset($params['page']); } -// $http_query =& $this->Application->recallObject('HTTPQuery'); -// $get = $http_query->getRedirectParams(); - $pass = Array('pass' => 'm,'.$this->getPrefixSpecial()); -// $pass = array_merge($get, $pass); + $params['pass'] = 'm,'.$this->getPrefixSpecial(); - return $this->Application->HREF($t, '', $pass); + return $this->Application->HREF($t, '', $params); } function ColumnWidth($params) @@ -834,7 +834,10 @@ $object =& $this->GetList($params); /* @var $object kDBList */ - switch ($params['type']) { + $type = $params['type']; + unset($params['type']); // remove parameters used only by current tag + + switch ($type) { case 'current': $ret = $object->Page; break; @@ -853,6 +856,7 @@ } if ($ret && isset($params['as_link']) && $params['as_link']) { + unset($params['as_link']); // remove parameters used only by current tag $params['page'] = $ret; $current_page = $object->Page; // backup current page $ret = $this->PageLink($params);