From: Brion Vibber Date: Wed, 16 Nov 2005 10:59:36 +0000 (+0000) Subject: * (bug 3948) Avoid notice warning in debug statement in bad search X-Git-Tag: 1.6.0~1167 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=98dbe67e00fe41ae56ddbb2ef2636a99f6c982ff;p=lhc%2Fweb%2Fwiklou.git * (bug 3948) Avoid notice warning in debug statement in bad search --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index ca13ac5ceb..d6d8fddcf1 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 and during {{subst:}} expansion as well as ordinary templates. +* (bug 3948) Avoid notice warning in debug statement in bad search === Caveats === diff --git a/includes/SearchMySQL4.php b/includes/SearchMySQL4.php index 76025c4c6a..256579f1c2 100644 --- a/includes/SearchMySQL4.php +++ b/includes/SearchMySQL4.php @@ -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 );