From 171e504a8d4e1f9c4b6377c45bec2406241706bd Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 8 Jul 2014 15:43:26 +0800 Subject: Bug 1035221: updated bless_groups throws a sql syntax error if visibility groups are used r=sgreen,a=sgreen --- Bugzilla/User.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/User.pm') diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 55a967796..3efe02633 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -977,7 +977,7 @@ sub bless_groups { } if (Bugzilla->params->{usevisibilitygroups} - && !$self->visible_groups_inherited) { + && !@{ $self->visible_groups_inherited }) { return []; } -- cgit v1.2.3-24-g4f1b