projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f500cf
)
Contributes to MDL12324 - fixes search failure when using extended chars (non ascii...
author
diml
<diml>
Mon, 28 Apr 2008 16:27:41 +0000
(16:27 +0000)
committer
diml
<diml>
Mon, 28 Apr 2008 16:27:41 +0000
(16:27 +0000)
search/querylib.php
patch
|
blob
|
history
diff --git
a/search/querylib.php
b/search/querylib.php
index 2c5b49cdf50e33a82cf6537b1b87b3e2c18a38ac..9fe0bdc6c01c1a15aa46c4e4ea711b01abe12fbd 100644
(file)
--- a/
search/querylib.php
+++ b/
search/querylib.php
@@
-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:');