ok reinstalled to the new version for the multi quote hack, this is what i get when searching
Warning: Variable passed to reset() is not an array or object in /home/cra++++/public_html/forums/showthread.php on line 749
Warning: Variable passed to each() is not an array or object in /home/cra++++/public_html/forums/showthread.php on line 750
Code:
//highlight words for search engine
if (isset($highlight)) {
if ((isset($postid) and $postid==$post[postid]) or !isset($postid)) {
749 reset($replacewords);
750 while (list($key,$val)=each($replacewords)){
$post['message']=preg_replace("/(^| |\n|\r|\t|\]|>|\")(".$val.")(([\.,]+[ $\n\r\t])|$|\"|<|\[| |\n|\r|\t)/si", "\\1<highlight>\\2</highlight>\\3", $post['message']);
}
}
}