* (bug 3948) Avoid notice warning in debug statement in bad search
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 16 Nov 2005 10:59:36 +0000 (10:59 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 16 Nov 2005 10:59:36 +0000 (10:59 +0000)
RELEASE-NOTES
includes/SearchMySQL4.php

index ca13ac5..d6d8fdd 100644 (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 ===
index 76025c4..256579f 100644 (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 );