summaryrefslogtreecommitdiffstats
path: root/Bugzilla/User.pm
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-07-08 09:43:26 +0200
committerByron Jones <glob@mozilla.com>2014-07-08 09:43:26 +0200
commit171e504a8d4e1f9c4b6377c45bec2406241706bd (patch)
tree82fe10132511c22430970e10e9027af4d9476787 /Bugzilla/User.pm
parenteb527a5c1ccff25425d5a080919ae88dc6d60533 (diff)
downloadbugzilla-171e504a8d4e1f9c4b6377c45bec2406241706bd.tar.gz
bugzilla-171e504a8d4e1f9c4b6377c45bec2406241706bd.tar.xz
Bug 1035221: updated bless_groups throws a sql syntax error if visibility groups are used
r=sgreen,a=sgreen
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r--Bugzilla/User.pm2
1 files changed, 1 insertions, 1 deletions
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 [];
}