summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/create
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-01-18 07:27:09 +0100
committerlpsolit%gmail.com <>2007-01-18 07:27:09 +0100
commit7c0b9e7f84e5f10adc9df3a2590eef6d266b673a (patch)
treeb23a3d1cd6e922afebd6b16bff6f8c7fd6d1562a /template/en/default/bug/create
parent8a33252e3ac8d46230f3bf63eaef2b717900a878 (diff)
downloadbugzilla-7c0b9e7f84e5f10adc9df3a2590eef6d266b673a.tar.gz
bugzilla-7c0b9e7f84e5f10adc9df3a2590eef6d266b673a.tar.xz
Bug 299405: Attachments don't work if you need to log in again [ Undefined subroutine @ Fh::slice ] - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
Diffstat (limited to 'template/en/default/bug/create')
-rw-r--r--template/en/default/bug/create/confirm-create-dupe.html.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/template/en/default/bug/create/confirm-create-dupe.html.tmpl b/template/en/default/bug/create/confirm-create-dupe.html.tmpl
index 47d2ae916..9c2b3dbc2 100644
--- a/template/en/default/bug/create/confirm-create-dupe.html.tmpl
+++ b/template/en/default/bug/create/confirm-create-dupe.html.tmpl
@@ -27,6 +27,8 @@
title = "Already filed $terms.bug"
%]
+[% USE Bugzilla %]
+
<table cellpadding="20">
<tr>
<td bgcolor="#ff0000">
@@ -44,7 +46,8 @@ FILTER bug_link(bugid) FILTER none %].</font></p>
<p>If you are sure you used the same form to submit a new [% terms.bug %],
click 'File [% terms.bug %] again'.<p>
- <form name="create" id="create" method="post" action="post_bug.cgi">
+ <form name="create" id="create" method="post" action="post_bug.cgi"
+ [%- IF Bugzilla.cgi.param("data") %] enctype="multipart/form-data"[% END %]>
[% PROCESS "global/hidden-fields.html.tmpl"
exclude="^(Bugzilla_login|Bugzilla_password|ignore_token)$" %]
<input type="hidden" name="ignore_token" value="[% bugid FILTER html %]">