From 6beadee1270482d38ec4b500340af1b28df9b165 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Wed, 13 Feb 2013 10:59:41 -0500 Subject: File Legal Review bug only if relationship type is not equal to Hardware Purchase --- extensions/MozProjectReview/Extension.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3-24-g4f1b