diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2011-12-21 18:42:51 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2011-12-21 18:42:51 +0100 |
commit | eca4822f0ad4733af64425c10b9edd1d7ca62772 (patch) | |
tree | 1f7684f00e053b80a6d0ffadf1aa147e4e9e2fc4 /enter_bug.cgi | |
parent | 5cbb1c79abf94ffdd55f554c910da64cd9782503 (diff) | |
download | bugzilla-eca4822f0ad4733af64425c10b9edd1d7ca62772.tar.gz bugzilla-eca4822f0ad4733af64425c10b9edd1d7ca62772.tar.xz |
merged with bmo/4.0
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-x | enter_bug.cgi | 3 |
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 ############################################################################## |