diff options
author | Byron Jones <bjones@mozilla.com> | 2013-05-29 06:29:30 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-05-29 06:29:30 +0200 |
commit | 1238159c40c02ffe80a727c568baf8d4c313d03f (patch) | |
tree | b18c0f3ed273eaa62c784d8482a920d8e8056da6 /extensions/Needinfo/Extension.pm | |
parent | 114f371c93495fdab5690144bf9577f95ac224d5 (diff) | |
download | bugzilla-1238159c40c02ffe80a727c568baf8d4c313d03f.tar.gz bugzilla-1238159c40c02ffe80a727c568baf8d4c313d03f.tar.xz |
Bug 876414: I should be able to comment on a bug that is needinfo?(me) without clearing the needinfo?
Diffstat (limited to 'extensions/Needinfo/Extension.pm')
-rw-r--r-- | extensions/Needinfo/Extension.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/Needinfo/Extension.pm b/extensions/Needinfo/Extension.pm index f6cc7d256..622221507 100644 --- a/extensions/Needinfo/Extension.pm +++ b/extensions/Needinfo/Extension.pm @@ -153,7 +153,8 @@ sub bug_start_of_update { # Clear if comment provided by the proper requestee if ($bug->{added_comments} && (!$flag->requestee || $flag->requestee->login eq Bugzilla->user->login) - && (!$is_private || $flag->setter->is_insider)) + && (!$is_private || $flag->setter->is_insider) + && grep($_ == $flag->id, @needinfo_overrides)) { $clear_needinfo = 1; } |