summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2011-12-21 18:42:51 +0100
committerDave Lawrence <dlawrence@mozilla.com>2011-12-21 18:42:51 +0100
commiteca4822f0ad4733af64425c10b9edd1d7ca62772 (patch)
tree1f7684f00e053b80a6d0ffadf1aa147e4e9e2fc4 /Bugzilla
parent5cbb1c79abf94ffdd55f554c910da64cd9782503 (diff)
downloadbugzilla-eca4822f0ad4733af64425c10b9edd1d7ca62772.tar.gz
bugzilla-eca4822f0ad4733af64425c10b9edd1d7ca62772.tar.xz
merged with bmo/4.0
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Product.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Product.pm b/Bugzilla/Product.pm
index 976804cb0..79af9cbf5 100644
--- a/Bugzilla/Product.pm
+++ b/Bugzilla/Product.pm
@@ -114,7 +114,7 @@ sub create {
# for each product in the list, particularly with hundreds or thousands
# of products.
sub preload {
- my ($products, $preload_flagtypes) = @_;
+ my ($products, $preload_flagtypes, $flagtypes_params) = @_;
my %prods = map { $_->id => $_ } @$products;
my @prod_ids = keys %prods;
return unless @prod_ids;
@@ -132,7 +132,7 @@ sub preload {
}
}
if ($preload_flagtypes) {
- $_->flag_types foreach @$products;
+ $_->flag_types($flagtypes_params) foreach @$products;
}
}