Commit 202409b6 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 449184: Classification should not appear in new bugmail when…

Bug 449184: Classification should not appear in new bugmail when useclassification = 0 - Patch by A.A. Shimono (himorin) <shimono@mozilla.gr.jp> r/a=LpSolit
parent 3ca61bf7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment