summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-07-15 16:25:54 +0200
committerByron Jones <glob@mozilla.com>2015-07-15 16:25:54 +0200
commit90853c647912e618d916332fee4beb696299fe1b (patch)
tree012650097d6f3c44d488d50276d9c4a84c08c28f /extensions
parente2635d9f405ec8b6f22b58d2ec1ec72c22d91df2 (diff)
downloadbugzilla-90853c647912e618d916332fee4beb696299fe1b.tar.gz
bugzilla-90853c647912e618d916332fee4beb696299fe1b.tar.xz
Bug 1183975 - limit the number of accounts a new user can add to any multi-user field
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Review/Extension.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/Review/Extension.pm b/extensions/Review/Extension.pm
index ef83b61b4..84ab3e77b 100644
--- a/extensions/Review/Extension.pm
+++ b/extensions/Review/Extension.pm
@@ -180,6 +180,7 @@ sub _bug_check_bug_mentors {
if (scalar(@$mentors) > MENTOR_LIMIT) {
ThrowUserError('mentor_limit_exceeded', { limit => MENTOR_LIMIT });
}
+ return $mentors;
}
sub bug_user_match_fields {