From c0b5d5f7f2b86a6a8af44a71d10d662e11d57622 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 12 Aug 2008 06:58:03 +0000 Subject: Bug 450193: Cloning a bug may fail if a custom date/time field exists - Patch by Frédéric Buclin r=mkanat a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/bug/create/create.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/en/default/bug') 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} : "" %] [% PROCESS bug/field.html.tmpl editable=1 value_span=3 %] -- cgit v1.2.3-24-g4f1b