From: lpsolit%gmail.com <> Date: Tue, 12 Aug 2008 06:59:56 +0000 (+0000) Subject: Bug 450193: Cloning a bug may fail if a custom date/time field exists - Patch by... X-Git-Tag: bugzilla-3.2rc1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=330d97ee1b07d157c3aab0e937720df938adbb19;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 %]