summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/BugMail.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index 2f132e2de..dc48e83de 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -137,7 +137,9 @@ sub Send {
my $product = new Bugzilla::Product($values{product_id});
$values{product} = $product->name;
- $values{classification} = Bugzilla::Classification->new($product->classification_id)->name;
+ if (Bugzilla->params->{'useclassification'}) {
+ $values{classification} = Bugzilla::Classification->new($product->classification_id)->name;
+ }
my $component = new Bugzilla::Component($values{component_id});
$values{component} = $component->name;