From cd52da4ff0bb50721dcbec56de8c91ed930ef4a3 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Mon, 2 Mar 2009 20:03:14 +0000 Subject: [PATCH] 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 git-svn-id: svn://10.0.0.236/trunk@256396 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/Search.pm | 3 --- .../bugzilla/template/en/default/global/user-error.html.tmpl | 5 ----- 2 files changed, 8 deletions(-) diff --git a/mozilla/webtools/bugzilla/Bugzilla/Search.pm b/mozilla/webtools/bugzilla/Bugzilla/Search.pm index 2b3b2304415..2f86d2502b5 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Search.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/Search.pm @@ -258,9 +258,6 @@ sub init { } if (@clist) { push(@specialchart, \@clist); - } else { - ThrowUserError("missing_email_type", - { email => $email }); } } diff --git a/mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl index 570cdc6fec7..58be9ea73f8 100644 --- a/mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl +++ b/mozilla/webtools/bugzilla/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'} %]