Firefox PHP

Phrase search

Posted by ab 
ab
Phrase search
March 23, 2004 03:41AM
Hi,

5.0.4b is another quality beta release thanks, would put some final/commericial software to shame!

The only thing I've spotted that hasn't been mentioned recently is the entire phrase search doesn't quite work. I think someone mentioned it before but maybe not.

Line 676 of /include/db/mysql.php is:
$terms = $search;

but $terms needs to be an array for the foreach a few lines on, so a fix is to make it:

$terms[] = $search;
or
$terms = array($search)
Re: Phrase search
March 23, 2004 11:52AM
thanks, fixed in CVS.

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Sorry, only registered users may post in this forum.

Click here to login