summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-08-12 08:58:03 +0200
committerlpsolit%gmail.com <>2008-08-12 08:58:03 +0200
commitc0b5d5f7f2b86a6a8af44a71d10d662e11d57622 (patch)
tree3167ccaa9f6bc4e51724aecbcabb1747b6bce287 /template/en/default/bug
parentc8d01ecf1c832c614d511b561992b598128ad4db (diff)
downloadbugzilla-c0b5d5f7f2b86a6a8af44a71d10d662e11d57622.tar.gz
bugzilla-c0b5d5f7f2b86a6a8af44a71d10d662e11d57622.tar.xz
Bug 450193: Cloning a bug may fail if a custom date/time field exists - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/create/create.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index 24b6ec959..209e58c15 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -435,7 +435,7 @@ function handleWantsAttachment(wants_attachment) {
[% FOREACH field = Bugzilla.active_custom_fields %]
[% NEXT UNLESS field.enter_bug %]
- [% SET value = ${field.name} IF ${field.name}.defined %]
+ [% SET value = ${field.name}.defined ? ${field.name} : "" %]
<tr>
[% PROCESS bug/field.html.tmpl editable=1 value_span=3 %]
</tr>