diff options
author | Byron Jones <glob@mozilla.com> | 2014-04-01 07:53:47 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-04-01 07:53:47 +0200 |
commit | 72e6a203547667b442c876f9cbfa9cce72e8f814 (patch) | |
tree | 21af41c7b7ec2e5208c6b6ec9175f267b3adbb5c /extensions/Persona/template | |
parent | 18b981b96026b8f9b31d397faf4811d7d27e55a6 (diff) | |
download | bugzilla-72e6a203547667b442c876f9cbfa9cce72e8f814.tar.gz bugzilla-72e6a203547667b442c876f9cbfa9cce72e8f814.tar.xz |
Bug 774198: "Undefined subroutine Fh::slice" when logging in with browserid while attaching a file
Diffstat (limited to 'extensions/Persona/template')
-rw-r--r-- | extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl b/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl index f6d68a5af..786010a34 100644 --- a/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl +++ b/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl @@ -54,6 +54,7 @@ function persona_onlogin(assertion) { [% FOREACH field = cgi.param() %] [% NEXT IF field.search("^(Bugzilla_(login|password|restrictlogin)|token|persona_assertion)$") %] + [% NEXT UNLESS cgi.param(field).can('slice') %] [% FOREACH mvalue = cgi.param(field).slice(0) %] createHidden('[% field FILTER js %]', '[% mvalue FILTER html_linebreak FILTER js %]', form); [% END %] |