Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Thu, Nov 20, 4:50 PM

in-portal

Index: branches/unlabeled/unlabeled-1.1.4/core/units/related_searches/related_searches_tag_processor.php
===================================================================
--- branches/unlabeled/unlabeled-1.1.4/core/units/related_searches/related_searches_tag_processor.php (revision 10667)
+++ branches/unlabeled/unlabeled-1.1.4/core/units/related_searches/related_searches_tag_processor.php (revision 10668)
@@ -1,20 +1,26 @@
<?php
class RelatedSearchTagProcessor extends kDBTagProcessor {
/**
* Returns url for search on the Fornt End
*
* @param Array $params
* @return string
*/
function RelatedSearchUrl($params)
{
- $object =& $this->getObject($params);
+ $object =& $this->getObject($params);
$keyword = $object->GetDBField('Keyword');
-
- return $this->Application->HREF($params['search_template'],'', Array('keywords' => $keyword));
+
+ $t = $params['search_template'];
+ unset($params['search_template']);
+
+ $pass_params = $params;
+ $pass_params['keywords'] = $keyword;
+
+ return $this->Application->HREF($t,'', $pass_params);
}
}
?>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.1.4/core/units/related_searches/related_searches_tag_processor.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1.4.1
\ No newline at end of property
+1.1.4.2
\ No newline at end of property

Event Timeline