From f8f988fbc1ca1d183dbeb8e1e942706552507e84 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 3 Jul 2007 21:22:00 +0000 Subject: Bug 385910: Rename the 'quicksearch_allow_empty_words' parameter to 'specific_search_allow_empty_words' (to avoid confusion with the QuickSearch feature) - Patch by Brad Johnson r=wicked a=mkanat --- buglist.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index 0f5c55691..aa19a4b4b 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -75,9 +75,9 @@ if (defined($searchstring)) { } # If configured to not allow empty words, reject empty searches from the -# simple search form, including words being a single or several consecutive -# whitespaces only. -if (!Bugzilla->params->{'quicksearch_allow_empty_words'} +# Find a Specific Bug search form, including words being a single or +# several consecutive whitespaces only. +if (!Bugzilla->params->{'specific_search_allow_empty_words'} && defined($cgi->param('content')) && $cgi->param('content') =~ /^\s*$/) { ThrowUserError("buglist_parameters_required"); -- cgit v1.2.3-24-g4f1b