Commit 8f5a0bbc authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 322315: When a user is logged out, $user->can_bless gives: Not an ARRAY…

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
parent 00984351
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment