summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2011-08-16 02:48:26 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2011-08-16 02:48:26 +0200
commit92944f05e0626b212a17c4a0641c78453805a4c3 (patch)
treeb64449fbe548953c77d418000a2cf2e44c02e249 /template/en/default/bug
parent63efc1fab453cd0c035890dd0641e90e581f6fb4 (diff)
downloadbugzilla-92944f05e0626b212a17c4a0641c78453805a4c3.tar.gz
bugzilla-92944f05e0626b212a17c4a0641c78453805a4c3.tar.xz
Bug 460074: Make post_bug.cgi use should_set for array fields, so they
are undef in Bugzilla::Bug->create if not passed to post_bug. This fixes a bug with the guided bug form creating bugs without any groups. r=LpSolit, a=mkanat
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/create/create.html.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index 8604f0839..ee19ab5d6 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -665,6 +665,7 @@ TUI_hide_default('attachment_text_field');
<br>
<!-- Checkboxes -->
+ <input type="hidden" name="defined_groups" value="1">
[% FOREACH group = product.groups_available %]
<input type="checkbox" id="group_[% group.id FILTER html %]"
name="groups" value="[% group.name FILTER html %]"