diff options
author | lpsolit%gmail.com <> | 2007-07-03 23:22:00 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-07-03 23:22:00 +0200 |
commit | f8f988fbc1ca1d183dbeb8e1e942706552507e84 (patch) | |
tree | ef474bc7a2437f65926620636bf42446f57c89a7 /buglist.cgi | |
parent | ee2eb7de3865e97dd48030da6cf48606d95fe152 (diff) | |
download | bugzilla-f8f988fbc1ca1d183dbeb8e1e942706552507e84.tar.gz bugzilla-f8f988fbc1ca1d183dbeb8e1e942706552507e84.tar.xz |
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 <fk7q01p02@sneakemail.com> r=wicked a=mkanat
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
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"); |