Index: branches/RC/core/units/related_searches/related_searches_tag_processor.php =================================================================== diff -u -N -r9334 -r11538 --- branches/RC/core/units/related_searches/related_searches_tag_processor.php (.../related_searches_tag_processor.php) (revision 9334) +++ branches/RC/core/units/related_searches/related_searches_tag_processor.php (.../related_searches_tag_processor.php) (revision 11538) @@ -10,11 +10,29 @@ */ 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)); } + + /** + * If data was modfied & is in TempTables mode, then parse block with name passed; + * remove modification mark if not in TempTables mode + * + * @param Array $params + * @return string + * @access public + * @author Alexey + */ + function SaveWarning($params) + { + if ($this->Prefix == 'c-search') { + return $this->Application->ProcessParsedTag('c', 'SaveWarning', $params); + } + + return parent::SaveWarning($params); + } } ?> \ No newline at end of file