From: lpsolit%gmail.com <> Date: Tue, 12 Aug 2008 07:03:38 +0000 (+0000) Subject: Bug 450193: The content of some custom fields may be copied into other custom fields... X-Git-Tag: bugzilla-3.0.5~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=46cf5b0d76fec1eb523ad649bdab8fc2ae30b2d2;p=thirdparty%2Fbugzilla.git Bug 450193: The content of some custom fields may be copied into other custom fields when cloning bugs - 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 0c41b9e5b0..573349d754 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -401,7 +401,7 @@ function handleWantsAttachment(wants_attachment) { [% USE Bugzilla %] [% FOREACH field = Bugzilla.get_fields({ obsolete => 0, custom => 1, enter_bug => 1 }) %] - [% SET value = ${field.name} IF ${field.name}.defined %] + [% SET value = ${field.name}.defined ? ${field.name} : "" %] [% PROCESS bug/field.html.tmpl editable=1 value_span=2 %]