diff options
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"); |