diff options
author | lpsolit%gmail.com <> | 2006-01-06 00:05:32 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-01-06 00:05:32 +0100 |
commit | 8f5a0bbc0bd8b0d47ea09b5a05befd9864ca0d3b (patch) | |
tree | c808bdfb8631b20b883ee8dc5583072f7cd4a6a4 /Bugzilla | |
parent | 00984351106f67e6f6bf47e00224f6915949abf0 (diff) | |
download | bugzilla-8f5a0bbc0bd8b0d47ea09b5a05befd9864ca0d3b.tar.gz bugzilla-8f5a0bbc0bd8b0d47ea09b5a05befd9864ca0d3b.tar.xz |
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
Diffstat (limited to 'Bugzilla')
-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 81694dd70..19c45cbed 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -311,7 +311,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; |