From fdf19c177d080c5325ba9b6f66596ffca0b1cb9a Mon Sep 17 00:00:00 2001 From: "bzrmirror%bugzilla.org" Date: Tue, 8 Jul 2014 08:00:47 +0000 Subject: [PATCH] Bug 1035221: updated bless_groups throws a sql syntax error if visibility groups are used r=sgreen,a=sgreen git-svn-id: svn://10.0.0.236/trunk@265450 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/.gitrev | 2 +- mozilla/webtools/bugzilla/Bugzilla/User.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index a0aa536005a..b3253d60196 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -9073 \ No newline at end of file +9074 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/.gitrev b/mozilla/webtools/bugzilla/.gitrev index 4f412058ca5..65b7e4b9f7f 100644 --- a/mozilla/webtools/bugzilla/.gitrev +++ b/mozilla/webtools/bugzilla/.gitrev @@ -1 +1 @@ -eb527a5c1ccff25425d5a080919ae88dc6d60533 \ No newline at end of file +171e504a8d4e1f9c4b6377c45bec2406241706bd \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/Bugzilla/User.pm b/mozilla/webtools/bugzilla/Bugzilla/User.pm index 55a96779694..3efe02633f9 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/User.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/User.pm @@ -977,7 +977,7 @@ sub bless_groups { } if (Bugzilla->params->{usevisibilitygroups} - && !$self->visible_groups_inherited) { + && !@{ $self->visible_groups_inherited }) { return []; }