summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkl%redhat.com <>2009-07-22 21:29:37 +0200
committerdkl%redhat.com <>2009-07-22 21:29:37 +0200
commit190a7ed5b35908af362d10b0e76e8298a2c16d1a (patch)
treea4c3d2efbf5f4a54bfc5ebc4892f40aad0db07de
parente5dc8982e61b3b970d5c58d0ec545393c475b8ac (diff)
downloadbugzilla-190a7ed5b35908af362d10b0e76e8298a2c16d1a.tar.gz
bugzilla-190a7ed5b35908af362d10b0e76e8298a2c16d1a.tar.xz
Bug 505796 - Bugzilla::Group::grant_direct has refers to $self->{members_direct} instead of $self->{grant_direct}
Patch by Dave Lawrence <dkl@redhat.com> - r/a=LpSolit
-rw-r--r--Bugzilla/Group.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Group.pm b/Bugzilla/Group.pm
index e33ce6347..2e8a975d2 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(