summaryrefslogtreecommitdiffstats
path: root/extensions/BMO
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-03-28 23:25:04 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-03-28 23:25:04 +0200
commite4953b938ed652365eeba7c967ea74882afbb0a3 (patch)
tree6ccdfb134b245c064376d1ea9aa84fff551b7342 /extensions/BMO
parent2838dad07581a783cfb4bcf32a2c003e22cb13e5 (diff)
downloadbugzilla-e4953b938ed652365eeba7c967ea74882afbb0a3.tar.gz
bugzilla-e4953b938ed652365eeba7c967ea74882afbb0a3.tar.xz
Bug 684701: add "watch user" to component watching
Diffstat (limited to 'extensions/BMO')
-rw-r--r--extensions/BMO/Extension.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm
index 115d944b6..47f022c97 100644
--- a/extensions/BMO/Extension.pm
+++ b/extensions/BMO/Extension.pm
@@ -564,7 +564,8 @@ sub bug_check_groups {
my ($self, $args) = @_;
my $group_names = $args->{'group_names'};
my $add_groups = $args->{'add_groups'};
-
+
+ return unless $group_names;
$group_names = ref $group_names
? $group_names
: [ map { trim($_) } split(',', $group_names) ];