]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 450193: The content of some custom fields may be copied into other custom fields...
authorlpsolit%gmail.com <>
Tue, 12 Aug 2008 07:03:38 +0000 (07:03 +0000)
committerlpsolit%gmail.com <>
Tue, 12 Aug 2008 07:03:38 +0000 (07:03 +0000)
template/en/default/bug/create/create.html.tmpl

index 0c41b9e5b0b3f46bea9c1b35a0fcb2899c3d40df..573349d7547df99497f7444eefd29ec8dadd5427 100644 (file)
@@ -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} : "" %]
     <tr>
       [% PROCESS bug/field.html.tmpl editable=1 value_span=2 %]
     </tr>