From 98dbe67e00fe41ae56ddbb2ef2636a99f6c982ff Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 16 Nov 2005 10:59:36 +0000 Subject: [PATCH] * (bug 3948) Avoid notice warning in debug statement in bad search --- RELEASE-NOTES | 1 + includes/SearchMySQL4.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 ); -- 2.20.1