summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Bug.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index fbb57409a..af3f5a355 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -706,7 +706,7 @@ sub create {
# BMO - per-product hw/os defaults
if (!defined $params->{rep_platform} || !defined $params->{op_sys}) {
if (my $product = Bugzilla::Product->new({ name => $params->{product}, cache => 1 })) {
- $params->{rep_platform} //= $product->default_product;
+ $params->{rep_platform} //= $product->default_platform;
$params->{op_sys} //= $product->default_op_sys;
}
}