summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl b/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl
index 6f88888f0..ed09886bc 100644
--- a/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl
@@ -36,9 +36,9 @@
[% BLOCK group_checkbox %]
<input type="checkbox" name="groups"
value="[% name FILTER none %]" id="group_[% name FILTER html %]"
- [% FOREACH g = group %]
- [% IF g.name == name %]
- [% ' checked="checked"' IF g.checked %]
+ [% FOREACH group = product.groups_available %]
+ [% IF group.name == name %]
+ [% ' checked="checked"' IF default.groups.contains(group.name) OR group.is_default %]
[% LAST %]
[% END %]
[% END %]