]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 505796 - Bugzilla::Group::grant_direct has refers to $self->{members_direct}...
authordkl%redhat.com <>
Wed, 22 Jul 2009 19:33:29 +0000 (19:33 +0000)
committerdkl%redhat.com <>
Wed, 22 Jul 2009 19:33:29 +0000 (19:33 +0000)
Patch by Dave Lawrence <dkl@redhat.com> - r/a=LpSolit

Bugzilla/Group.pm

index d9f49c0747ef530e6d87741cbb02b72c2c5c4431..98d9ab1a876925a022f7a88ad76a9cdb2cc0fbac 100644 (file)
@@ -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(