]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 449184: Classification should not appear in new bugmail when useclassification...
authorlpsolit%gmail.com <>
Tue, 5 Aug 2008 15:15:17 +0000 (15:15 +0000)
committerlpsolit%gmail.com <>
Tue, 5 Aug 2008 15:15:17 +0000 (15:15 +0000)
Bugzilla/BugMail.pm

index 2f132e2deae89e585515b3b697e805dd8dc3b103..dc48e83ded379a6ede7cc0ac545bf8108cfa7b55 100644 (file)
@@ -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;