]> 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:08:49 +0000 (14:08 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Sun, 16 Dec 2012 13:08:49 +0000 (14:08 +0100)
r/a=LpSolit

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

index f1d5afd3261d8c1a5b88ea220996f9d1de8f6610..3133c159bf815463374424021dbaa8a27b0dffd8 100644 (file)
@@ -55,6 +55,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 %]