summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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(