From: Byron Jones Date: Tue, 8 Jul 2014 07:43:26 +0000 (+0800) Subject: Bug 1035221: updated bless_groups throws a sql syntax error if visibility groups... X-Git-Tag: bugzilla-4.5.5~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=171e504a8d4e1f9c4b6377c45bec2406241706bd;p=thirdparty%2Fbugzilla.git Bug 1035221: updated bless_groups throws a sql syntax error if visibility groups are used r=sgreen,a=sgreen --- diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 55a9677969..3efe02633f 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 []; }