зеркало из https://github.com/mozilla/pjs.git
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
This commit is contained in:
Родитель
37bc96bf11
Коммит
47257c95d6
|
@ -311,7 +311,7 @@ sub bless_groups {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
return $self->{'bless_groups'} if defined $self->{'bless_groups'};
|
return $self->{'bless_groups'} if defined $self->{'bless_groups'};
|
||||||
return {} unless $self->id;
|
return [] unless $self->id;
|
||||||
|
|
||||||
my $dbh = Bugzilla->dbh;
|
my $dbh = Bugzilla->dbh;
|
||||||
my $query;
|
my $query;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче