diff options
author | lpsolit%gmail.com <> | 2008-08-05 17:15:17 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-08-05 17:15:17 +0200 |
commit | 202409b6ef051db2b8243004ec711bbf7a9b8e79 (patch) | |
tree | 5dbe7ec93fd0f9f6697e9ae5199002443c362ecc /Bugzilla | |
parent | 3ca61bf7f2a691ba5e08a73f710ec47e8c149dba (diff) | |
download | bugzilla-202409b6ef051db2b8243004ec711bbf7a9b8e79.tar.gz bugzilla-202409b6ef051db2b8243004ec711bbf7a9b8e79.tar.xz |
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
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/BugMail.pm | 4 |
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; |