diff options
author | lpsolit%gmail.com <> | 2006-01-05 23:02:59 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-01-05 23:02:59 +0000 |
commit | 0ffd866ceb3ca3a7094bcc8c9d73a4d4cb4f72d0 (patch) | |
tree | 826c64114f5519b7bf3152cbb889c736ca07f908 | |
parent | Bug 322412 Typo in error message (diff) | |
download | bugzilla-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.pm | 2 |
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; |