summaryrefslogtreecommitdiffstats
path: root/enter_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 239a731e2..302f84f06 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -177,6 +177,9 @@ if ($product_name eq '') {
# to enter a bug against this product.
$product = $user->can_enter_product($product || $product_name, THROW_ERROR);
+# Preloading certain attributes such as components/versions/milestones/flags
+Bugzilla::Product::preload([ $product ], 1, { is_active => 1 });
+
##############################################################################
# Useful Subroutines
##############################################################################