Skip to content

Commit

Permalink
Update functions_entries.inc.php
Browse files Browse the repository at this point in the history
Co-authored-by: Garvin Hicking <[email protected]>
  • Loading branch information
garvinhicking and fe-hicking authored Jul 17, 2024
1 parent 11663a5 commit 1c60209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/functions_entries.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ function &serendipity_searchEntries($term, $limit = '', $searchresults = '') {
$relevance_enabled = true;
if (preg_match('@["\+\-\*~<>\(\)]+@', $term)) {
$term = serendipity_db_escape_string($term);
$cond['find_part'] = "MATCH(title,body,extended) AGAINST('\"$term\"' IN BOOLEAN MODE)";
$cond['find_part'] = "MATCH(title,body,extended) AGAINST('\"$term\"' IN BOOLEAN MODE)";
} else {
$cond['find_part'] = "MATCH(title,body,extended) AGAINST('$term')";
}
Expand Down

0 comments on commit 1c60209

Please sign in to comment.