diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-02-13 16:59:41 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-02-13 16:59:41 +0100 |
commit | 6beadee1270482d38ec4b500340af1b28df9b165 (patch) | |
tree | 8c40ecf48458aac08b5b95106c213fd12b80119b /extensions | |
parent | a701cac1768373be3a4bc2b205b750457d5be2bb (diff) | |
download | bugzilla-6beadee1270482d38ec4b500340af1b28df9b165.tar.gz bugzilla-6beadee1270482d38ec4b500340af1b28df9b165.tar.xz |
File Legal Review bug only if relationship type is not equal to Hardware Purchase
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/MozProjectReview/Extension.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/MozProjectReview/Extension.pm b/extensions/MozProjectReview/Extension.pm index b3da765d5..89e2b9a00 100644 --- a/extensions/MozProjectReview/Extension.pm +++ b/extensions/MozProjectReview/Extension.pm @@ -62,7 +62,9 @@ sub post_bug_after_creation { $do_legal = 1; } - if ($params->{separate_party} eq 'Yes') { + if ($params->{separate_party} eq 'Yes' + && $params->{relationship_type} ne 'Hardware Purchase') + { $do_legal = 1; } |