From: Max Kanat-Alexander Date: Thu, 24 Jun 2010 16:49:35 +0000 (-0700) Subject: Bug 574166: Make clean_search_url take into account the new email3 fields X-Git-Tag: bugzilla-3.7.1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=febd1676da423fdbe3f2a97cb946e8a2aecbd938;p=thirdparty%2Fbugzilla.git Bug 574166: Make clean_search_url take into account the new email3 fields from query.cgi r=glob, a=mkanat --- 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