* (bug 3948) Avoid notice warning in debug statement in bad search

This commit is contained in:
Brion Vibber 2005-11-16 10:59:36 +00:00
parent 876726286c
commit 98dbe67e00
2 changed files with 2 additions and 1 deletions

View file

@ -230,6 +230,7 @@ fully support the editing toolbar, but was found to be too confusing.
* (bug 3939) Don't try to load text for interwiki redirect target
* Respect <noinclude> and <includeonly> during {{subst:}} expansion as well as
ordinary templates.
* (bug 3948) Avoid notice warning in debug statement in bad search
=== Caveats ===

View file

@ -64,7 +64,7 @@ class SearchMySQL4 extends SearchMySQL {
wfDebug( "Would search with '$searchon'\n" );
wfDebug( "Match with /\b" . implode( '\b|\b', $this->searchTerms ) . "\b/\n" );
} else {
wfDebug( "Can't understand search query '{$this->filteredText}'\n" );
wfDebug( "Can't understand search query '{$filteredText}'\n" );
}
$searchon = $this->db->strencode( $searchon );