summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-05-28 18:58:23 +0200
committerByron Jones <bjones@mozilla.com>2012-05-28 18:58:23 +0200
commit71be6327da8fbfd2207a9e5826da98f25caca403 (patch)
tree59fc4a724b737adc07cd1508ea455c3b030cffaa /template
parent368fa4c0afeeb58d9ef67a255ae2e7c3a2defd3c (diff)
downloadbugzilla-71be6327da8fbfd2207a9e5826da98f25caca403.tar.gz
bugzilla-71be6327da8fbfd2207a9e5826da98f25caca403.tar.xz
Bug 756314: Fix dropping of unique matches when the "confirm page" page is display.
r=LpSolit, a=LpSolit
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/confirm-user-match.html.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/template/en/default/global/confirm-user-match.html.tmpl b/template/en/default/global/confirm-user-match.html.tmpl
index 5549b516d..cff20d237 100644
--- a/template/en/default/global/confirm-user-match.html.tmpl
+++ b/template/en/default/global/confirm-user-match.html.tmpl
@@ -150,8 +150,6 @@
[% 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') %]
@@ -176,8 +174,10 @@
[% IF matchsuccess == 1 %]
- [% SET exclude_these =
- matches.keys.merge(['Bugzilla_login', 'Bugzilla_password']) %]
+ [% SET exclude_these = ['Bugzilla_login', 'Bugzilla_password'] %]
+ [% FOREACH key IN matches.keys %]
+ [% exclude_these.push(key) IF cgi.param(key) == '' %]
+ [% END %]
[% SET exclude = '^' _ exclude_these.join('|') _ '$' %]
[% PROCESS "global/hidden-fields.html.tmpl" exclude = exclude %]