summaryrefslogtreecommitdiffstats
path: root/extensions/GuidedBugEntry/template/en
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/GuidedBugEntry/template/en')
-rw-r--r--extensions/GuidedBugEntry/template/en/default/pages/guided_products.js.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/GuidedBugEntry/template/en/default/pages/guided_products.js.tmpl b/extensions/GuidedBugEntry/template/en/default/pages/guided_products.js.tmpl
index 268fe06f8..b58df8298 100644
--- a/extensions/GuidedBugEntry/template/en/default/pages/guided_products.js.tmpl
+++ b/extensions/GuidedBugEntry/template/en/default/pages/guided_products.js.tmpl
@@ -8,16 +8,16 @@
[%# this file allows us to pull in data defined in the BMO ext %]
-[% IF formats %]
- [% FOREACH product = formats %]
+[% IF create_bug_formats %]
+ [% FOREACH product = create_bug_formats %]
if (!products['[% product.key FILTER js %]']) [% ~%]
products['[% product.key FILTER js %]'] = {};
products['[% product.key FILTER js %]'].format = '[% product.value FILTER js %]';
[% END %]
[% END %]
-[% IF products %]
- [% FOREACH product = products %]
+[% IF product_sec_groups %]
+ [% FOREACH product = product_sec_groups %]
if (!products['[% product.key FILTER js %]']) [% ~%]
products['[% product.key FILTER js %]'] = {};
products['[% product.key FILTER js %]'].secgroup = '[% product.value FILTER js %]';