aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-07-08 15:43:26 +0800
committerByron Jones <glob@mozilla.com>2014-07-08 15:43:26 +0800
commit171e504a8d4e1f9c4b6377c45bec2406241706bd (patch)
tree82fe10132511c22430970e10e9027af4d9476787
parenteb527a5c1ccff25425d5a080919ae88dc6d60533 (diff)
downloadbugs-171e504a8d4e1f9c4b6377c45bec2406241706bd.tar
bugs-171e504a8d4e1f9c4b6377c45bec2406241706bd.tar.gz
bugs-171e504a8d4e1f9c4b6377c45bec2406241706bd.tar.bz2
bugs-171e504a8d4e1f9c4b6377c45bec2406241706bd.tar.xz
bugs-171e504a8d4e1f9c4b6377c45bec2406241706bd.zip
Bug 1035221: updated bless_groups throws a sql syntax error if visibility groups are used
r=sgreen,a=sgreen
-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 [];
}