Contributes to MDL12324 - fixes search failure when using extended chars (non ascii) in query strings

This commit is contained in:
diml
2008-04-28 16:28:06 +00:00
parent 42f6931f27
commit 0df6befcd9
+1 -1
View File
@@ -219,7 +219,7 @@ class SearchQuery {
private function process_results($all=false) {
global $USER;
$term = strtolower($this->term);
$term = mb_convert_case($this->term, MB_CASE_LOWER, 'UTF-8');
//experimental - return more results
$strip_arr = array('author:', 'title:', '+', '-', 'doctype:');