summaryrefslogtreecommitdiffstats
path: root/editflagtypes.cgi
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-11-06 08:45:56 +0100
committermyk%mozilla.org <>2002-11-06 08:45:56 +0100
commit8965bbc68e62609116bc66e79b7fe00726effdbf (patch)
treecaf6e8f69a37d4a0e85bb3e1b2bcbcdeb42c5077 /editflagtypes.cgi
parent1047021c5155a32a801240ec2fba796fc2fb0314 (diff)
downloadbugzilla-8965bbc68e62609116bc66e79b7fe00726effdbf.tar.gz
bugzilla-8965bbc68e62609116bc66e79b7fe00726effdbf.tar.xz
Fix for bug 171475: make new flags include all categories (product/component combinations) by default.
r=joel
Diffstat (limited to 'editflagtypes.cgi')
-rwxr-xr-xeditflagtypes.cgi6
1 files changed, 4 insertions, 2 deletions
diff --git a/editflagtypes.cgi b/editflagtypes.cgi
index aed73f284..e02603b0a 100755
--- a/editflagtypes.cgi
+++ b/editflagtypes.cgi
@@ -130,9 +130,11 @@ sub edit {
$vars->{'type'}->{'exclusions'} = Bugzilla::FlagType::get_exclusions($::FORM{'id'});
}
# Otherwise set the target type (the minimal information about the type
- # that the template needs to know) from the URL parameter.
+ # that the template needs to know) from the URL parameter and default
+ # the list of inclusions to all categories.
else {
- $vars->{'type'} = { 'target_type' => $::FORM{'target_type'} };
+ $vars->{'type'} = { 'target_type' => $::FORM{'target_type'} ,
+ 'inclusions' => ["__Any__:__Any__"] };
}
# Return the appropriate HTTP response headers.