aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-08-12 06:58:03 +0000
committerlpsolit%gmail.com <>2008-08-12 06:58:03 +0000
commitc0b5d5f7f2b86a6a8af44a71d10d662e11d57622 (patch)
tree3167ccaa9f6bc4e51724aecbcabb1747b6bce287 /template
parentc8d01ecf1c832c614d511b561992b598128ad4db (diff)
downloadbugs-c0b5d5f7f2b86a6a8af44a71d10d662e11d57622.tar
bugs-c0b5d5f7f2b86a6a8af44a71d10d662e11d57622.tar.gz
bugs-c0b5d5f7f2b86a6a8af44a71d10d662e11d57622.tar.bz2
bugs-c0b5d5f7f2b86a6a8af44a71d10d662e11d57622.tar.xz
bugs-c0b5d5f7f2b86a6a8af44a71d10d662e11d57622.zip
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')
-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>