From 0b69cb3e02ed0a2b1eb2f268962355cb659065bb Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 2 Mar 2009 20:03:00 +0000 Subject: 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 --- Bugzilla/Search.pm | 3 --- template/en/default/global/user-error.html.tmpl | 5 ----- 2 files changed, 8 deletions(-) diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 2b3b23044..2f86d2502 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 570cdc6fe..58be9ea73 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'} %] -- cgit v1.2.3-24-g4f1b