From: lpsolit%gmail.com <> Date: Mon, 2 Mar 2009 20:03:00 +0000 (+0000) Subject: Bug 154482: Checking none of the checkboxes in the "Email Addresses, Bug Numbers... X-Git-Tag: bugzilla-3.3.4~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b69cb3e02ed0a2b1eb2f268962355cb659065bb;p=thirdparty%2Fbugzilla.git Bug 154482: Checking none of the checkboxes in the "Email Addresses, Bug Numbers, and Votes" section of query.cgi shouldn't throw an error - Original patch by timeless , updated by me, r/a=mkanat --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 2b3b230441..2f86d2502b 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -258,9 +258,6 @@ sub init { } if (@clist) { push(@specialchart, \@clist); - } else { - ThrowUserError("missing_email_type", - { email => $email }); } } diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 570cdc6fec..58be9ea73f 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1067,11 +1067,6 @@ [% docslinks = {'reporting.html' => 'Reporting'} %] You must specify one or more datasets to plot. - [% ELSIF error == "missing_email_type" %] - [% title = "Your Search Makes No Sense" %] - You must specify one or more fields in which to search for - [% email FILTER html %]. - [% ELSIF error == "missing_frequency" %] [% title = "Missing Frequency" %] [% docslinks = {'reporting.html' => 'Reporting'} %]