From: dkl%redhat.com <> Date: Wed, 22 Jul 2009 19:33:29 +0000 (+0000) Subject: Bug 505796 - Bugzilla::Group::grant_direct has refers to $self->{members_direct}... X-Git-Tag: bugzilla-3.2.5~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db4db81a51a1d8b67069a95142cf9d71a098e8a9;p=thirdparty%2Fbugzilla.git Bug 505796 - Bugzilla::Group::grant_direct has refers to $self->{members_direct} instead of $self->{grant_direct} Patch by Dave Lawrence - r/a=LpSolit --- diff --git a/Bugzilla/Group.pm b/Bugzilla/Group.pm index d9f49c0747..98d9ab1a87 100644 --- a/Bugzilla/Group.pm +++ b/Bugzilla/Group.pm @@ -103,7 +103,7 @@ sub grant_direct { my ($self, $type) = @_; $self->{grant_direct} ||= {}; return $self->{grant_direct}->{$type} - if defined $self->{members_direct}->{$type}; + if defined $self->{grant_direct}->{$type}; my $dbh = Bugzilla->dbh; my $ids = $dbh->selectcol_arrayref(