dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove use of strencode() outside Database classes
[lhc/web/wiklou.git]
/
includes
/
search
/
SearchMssql.php
diff --git
a/includes/search/SearchMssql.php
b/includes/search/SearchMssql.php
index
4960c42
..
0d1663f
100644
(file)
--- a/
includes/search/SearchMssql.php
+++ b/
includes/search/SearchMssql.php
@@
-162,9
+162,9
@@
class SearchMssql extends SearchDatabase {
}
}
- $searchon = $this->db->
strencode
( join( ',', $q ) );
+ $searchon = $this->db->
addQuotes
( join( ',', $q ) );
$field = $this->getIndexField( $fulltext );
- return "$field,
'$searchon'
";
+ return "$field,
$searchon
";
}
/**