Fix parse error

This commit is contained in:
Garvin Hicking 2008-08-26 13:48:48 +00:00
parent 4c2a6eb9f2
commit d3fd8ad8ec

View File

@ -754,7 +754,7 @@ function &serendipity_searchEntries($term, $limit = '') {
to_tsvector('english', title) @@to_tsquery('$term') OR
to_tsvector('english', body) @@to_tsquery('$term') OR
to_tsvector('english', extended) @@to_tsquery('$term')
)");
)";
} else {
$cond['find_part'] = "(title ILIKE '%$term%' OR body ILIKE '%$term%' OR extended ILIKE '%$term%')";
}