X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fsearch%2FSearchMssql.php;h=57ca06e39f214986dec37bba3692ee8c3e264e28;hp=598702d1ed969848edfed0e4916b7510e967acac;hb=36395150104588f2afea866c330b683e4329fa48;hpb=3071f1fad720f1773864621158a0c59b73124896 diff --git a/includes/search/SearchMssql.php b/includes/search/SearchMssql.php index 598702d1ed..57ca06e39f 100644 --- a/includes/search/SearchMssql.php +++ b/includes/search/SearchMssql.php @@ -136,7 +136,7 @@ class SearchMssql extends SearchDatabase { */ function parseQuery( $filteredText, $fulltext ) { global $wgContLang; - $lc = $this->legalSearchChars(); + $lc = $this->legalSearchChars( self::CHARS_NO_SYNTAX ); $this->searchTerms = []; # @todo FIXME: This doesn't handle parenthetical expressions. @@ -160,7 +160,7 @@ class SearchMssql extends SearchDatabase { } } - $searchon = $this->db->addQuotes( join( ',', $q ) ); + $searchon = $this->db->addQuotes( implode( ',', $q ) ); $field = $this->getIndexField( $fulltext ); return "$field, $searchon"; }