- Bugfix: fixed problem with search terms not being escaped properly.

4.2.x
Dries Buytaert 2003-06-30 19:42:19 +00:00
parent 886ae2bf15
commit 3bb6ddee4b
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ function do_search($search_array) {
}
// Put the next search word into the query and do the query
$query = preg_replace("'\%'", $word, $select);
$query = preg_replace("'\%'", check_query($word), $select);
$result = db_query($query);
// If we got any results

View File

@ -112,7 +112,7 @@ function do_search($search_array) {
}
// Put the next search word into the query and do the query
$query = preg_replace("'\%'", $word, $select);
$query = preg_replace("'\%'", check_query($word), $select);
$result = db_query($query);
// If we got any results