From: lpsolit%gmail.com <> Date: Tue, 12 Aug 2008 06:58:03 +0000 (+0000) Subject: Bug 450193: Cloning a bug may fail if a custom date/time field exists - Patch by... X-Git-Tag: bugzilla-3.3.1~231 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0b5d5f7f2b86a6a8af44a71d10d662e11d57622;p=thirdparty%2Fbugzilla.git Bug 450193: Cloning a bug may fail if a custom date/time field exists - Patch by Frédéric Buclin r=mkanat a=LpSolit --- diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 24b6ec959d..209e58c15a 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} : "" %] [% PROCESS bug/field.html.tmpl editable=1 value_span=3 %]