diff options
author | Byron Jones <bjones@mozilla.com> | 2012-05-29 01:00:27 +0800 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-05-29 01:00:27 +0800 |
commit | c0583bad191f07edbdcbc43c720f278759b78709 (patch) | |
tree | 68dae397e8567541110e3ed728156de99c9edfe3 /template/en | |
parent | c0f6b0de64acbc86f91f81d6bbd0d4a3777578f2 (diff) | |
download | bugs-c0583bad191f07edbdcbc43c720f278759b78709.tar bugs-c0583bad191f07edbdcbc43c720f278759b78709.tar.gz bugs-c0583bad191f07edbdcbc43c720f278759b78709.tar.bz2 bugs-c0583bad191f07edbdcbc43c720f278759b78709.tar.xz bugs-c0583bad191f07edbdcbc43c720f278759b78709.zip |
Bug 756314: Fix dropping of unique matches when the "confirm page" page is display.
r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/global/confirm-user-match.html.tmpl | 8 |
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 efa9dae3c..7d5002f11 100644 --- a/template/en/default/global/confirm-user-match.html.tmpl +++ b/template/en/default/global/confirm-user-match.html.tmpl @@ -134,8 +134,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') %] @@ -160,8 +158,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 %] |