summaryrefslogtreecommitdiffstats
path: root/config.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-10-20 02:27:59 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-10-20 02:27:59 +0200
commitfb85e2ee8fc510a607f60525f8c3b3978a9789df (patch)
treea8a0458b6537087ff15a40924788e5200089e257 /config.cgi
parent956e50863d553ed397f15c4c640d07aecf4c8cc5 (diff)
downloadbugzilla-fb85e2ee8fc510a607f60525f8c3b3978a9789df.tar.gz
bugzilla-fb85e2ee8fc510a607f60525f8c3b3978a9789df.tar.xz
Bug 553266: config.cgi?ctype=rdf spends most of its time loading flagtypes from the database
a=LpSolit (module owner)
Diffstat (limited to 'config.cgi')
-rwxr-xr-xconfig.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.cgi b/config.cgi
index d52c6b6c1..2c82fdc59 100755
--- a/config.cgi
+++ b/config.cgi
@@ -81,7 +81,8 @@ if ($cgi->param('product')) {
$vars->{'products'} = $user->get_selectable_products;
}
-Bugzilla::Product::preload($vars->{'products'});
+# We set the 2nd argument to 1 to also preload flag types.
+Bugzilla::Product::preload($vars->{'products'}, 1);
# Allow consumers to specify whether or not they want flag data.
if (defined $cgi->param('flags')) {