aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2011-08-15 17:53:05 -0700
committerMax Kanat-Alexander <mkanat@bugzilla.org>2011-08-15 17:53:05 -0700
commit73c040ca846bee12b66b905bbf5bbdd1002e6a73 (patch)
tree3a8da9a5a03c0ed9217e9d2195d0ec4ce38328b1 /template
parentBug 677187: If the attachment filename contains a newline, an error is thrown... (diff)
downloadbugzilla-73c040ca846bee12b66b905bbf5bbdd1002e6a73.tar.gz
bugzilla-73c040ca846bee12b66b905bbf5bbdd1002e6a73.tar.bz2
bugzilla-73c040ca846bee12b66b905bbf5bbdd1002e6a73.zip
Bug 460074: Make post_bug.cgi use should_set for the group field, so it
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')
-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 8e01e9275..c18e1c535 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -661,6 +661,7 @@ TUI_hide_default('expert_fields');
<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 %]"