summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-06-24 18:49:35 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-06-24 18:49:35 +0200
commitfebd1676da423fdbe3f2a97cb946e8a2aecbd938 (patch)
tree5cae1f6ebdafb601777a1dc0dc5e41284a3cc198
parentf9474d9b06e9b39a3e1f291af50b6d33e7f8d10a (diff)
downloadbugzilla-febd1676da423fdbe3f2a97cb946e8a2aecbd938.tar.gz
bugzilla-febd1676da423fdbe3f2a97cb946e8a2aecbd938.tar.xz
Bug 574166: Make clean_search_url take into account the new email3 fields
from query.cgi r=glob, a=mkanat
-rw-r--r--Bugzilla/CGI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index 224782152..848f840b2 100644
--- a/Bugzilla/CGI.pm
+++ b/Bugzilla/CGI.pm
@@ -168,7 +168,7 @@ sub clean_search_url {
# Delete leftovers from the login form
$self->delete('Bugzilla_remember', 'GoAheadAndLogIn');
- foreach my $num (1,2) {
+ foreach my $num (1,2,3) {
# If there's no value in the email field, delete the related fields.
if (!$self->param("email$num")) {
foreach my $field qw(type assigned_to reporter qa_contact