From e2635d9f405ec8b6f22b58d2ec1ec72c22d91df2 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 15 Jul 2015 15:02:19 +0800 Subject: Bug 1183975 - limit the number of accounts a new user can add to any multi-user field --- Bugzilla/Bug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index d105dd005..042f9c801 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -2665,7 +2665,7 @@ sub set_estimated_time { $_[0]->set('estimated_time', $_[1]); } sub _set_everconfirmed { $_[0]->set('everconfirmed', $_[1]); } sub set_flags { my ($self, $flags, $new_flags) = @_; - + Bugzilla::Hook::process('bug_set_flags', { bug => $self, flags => $flags, new_flags => $new_flags }); Bugzilla::Flag->set_flag($self, $_) foreach (@$flags, @$new_flags); } sub set_op_sys { $_[0]->set('op_sys', $_[1]); } -- cgit v1.2.3-24-g4f1b