diff options
author | Byron Jones <glob@mozilla.com> | 2014-04-02 11:11:44 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-04-02 11:11:44 +0200 |
commit | f8a258de8911f3e1035739c105bec1fa94a6d7db (patch) | |
tree | 010d2f0cec97bbd0d7e5088f727211127cd9d712 /extensions | |
parent | 33513415fbea127615960fd55a725cd39cb31a17 (diff) | |
download | bugzilla-f8a258de8911f3e1035739c105bec1fa94a6d7db.tar.gz bugzilla-f8a258de8911f3e1035739c105bec1fa94a6d7db.tar.xz |
Bug 986590: Confusing error message when not finding reviewer
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Review/Extension.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/extensions/Review/Extension.pm b/extensions/Review/Extension.pm index 634e7c9cd..16429ccdd 100644 --- a/extensions/Review/Extension.pm +++ b/extensions/Review/Extension.pm @@ -365,6 +365,16 @@ sub _update_reviewers { # reviewer requirements. instead we just throw an error. sub post_bug_attachment_flags { my ($self, $args) = @_; + $self->_check_review_flag($args); +} + +sub create_attachment_flags { + my ($self, $args) = @_; + $self->_check_review_flag($args); +} + +sub _check_review_flag { + my ($self, $args) = @_; my $bug = $args->{bug}; my $cgi = Bugzilla->cgi; |