Bug 634243: Stop confirm-match.html.tmpl from sending extra, empty values for

each field being confirmed. This fixes a bug where confirming would fail,
displaying a value with an extra comma at the end.
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/branches/BUGZILLA-4_0-BRANCH@261944 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org
2011-02-15 16:33:48 +00:00
parent 19cfaceadb
commit 91fe59dd71
2 changed files with 7 additions and 2 deletions

View File

@@ -1 +1 @@
7556
7557

View File

@@ -150,6 +150,8 @@
[% ELSE %]
matched
<b>[% query.value.users.0.identity FILTER html %]</b>
<input type="hidden" name="[% field.key FILTER html %]"
value="[% query.value.users.0.login FILTER html %]">
[% END %]
[% ELSE %]
[% IF (query.key.length < 3) && !Param('emailsuffix') %]
@@ -174,7 +176,10 @@
[% IF matchsuccess == 1 %]
[% PROCESS "global/hidden-fields.html.tmpl" exclude="^Bugzilla_(login|password)$" %]
[% SET exclude_these =
matches.keys.merge(['Bugzilla_login', 'Bugzilla_password']) %]
[% SET exclude = '^' _ exclude_these.join('|') _ '$' %]
[% PROCESS "global/hidden-fields.html.tmpl" exclude = exclude %]
<p>
<input type="submit" id="continue" value="Continue">