summaryrefslogtreecommitdiffstats
path: root/config.cgi
diff options
context:
space:
mode:
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')) {