]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 806809: Custom field values with "Enabled for bugs" set to "No" break the values...
authorAlexander Tereschenko <aleksandr.v.tereschenko@linux.intel.com>
Sun, 16 Dec 2012 13:06:17 +0000 (14:06 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Sun, 16 Dec 2012 13:06:17 +0000 (14:06 +0100)
r/a=LpSolit

template/en/default/bug/field-events.js.tmpl

index d37f4257cd9300f85f6a185941418aa96a340889..8ec51a4412c10750f3479cae8070adabb62d5615 100644 (file)
@@ -44,6 +44,7 @@
   [% FOREACH controlled_field = legal_value.controlled_values.keys %]
     [% SET cont_ids = [] %]
     [% FOREACH val = legal_value.controlled_values.$controlled_field %]
+      [% NEXT IF !val.is_active %]
       [% cont_ids.push(val.id) %]
     [% END %]
     [% NEXT IF !cont_ids.size %]