aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-01-05 23:02:59 +0000
committerlpsolit%gmail.com <>2006-01-05 23:02:59 +0000
commit0ffd866ceb3ca3a7094bcc8c9d73a4d4cb4f72d0 (patch)
tree826c64114f5519b7bf3152cbb889c736ca07f908
parentBug 322412 Typo in error message (diff)
downloadbugzilla-0ffd866ceb3ca3a7094bcc8c9d73a4d4cb4f72d0.tar.gz
bugzilla-0ffd866ceb3ca3a7094bcc8c9d73a4d4cb4f72d0.tar.bz2
bugzilla-0ffd866ceb3ca3a7094bcc8c9d73a4d4cb4f72d0.zip
Bug 322315: When a user is logged out, $user->can_bless gives: Not an ARRAY reference at Bugzilla/User.pm line 643 - Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=LpSolit a=justdave
-rw-r--r--Bugzilla/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 470d577d2..df2eb1407 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -305,7 +305,7 @@ sub bless_groups {
my $self = shift;
return $self->{'bless_groups'} if defined $self->{'bless_groups'};
- return {} unless $self->id;
+ return [] unless $self->id;
my $dbh = Bugzilla->dbh;
my $query;