From febd1676da423fdbe3f2a97cb946e8a2aecbd938 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Thu, 24 Jun 2010 09:49:35 -0700 Subject: [PATCH] Bug 574166: Make clean_search_url take into account the new email3 fields from query.cgi r=glob, a=mkanat --- Bugzilla/CGI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 2247821528..848f840b2d 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 -- 2.47.3