Permalink
Browse files

Restore the default scope of 'sub'

b703620 accidentally changed the default scope from 'sub' (2) to 'base' (0).
  • Loading branch information...
1 parent c1440a7 commit 0a744c612a1f575949358cd44ab005438b22a731 @tsibley committed Jul 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Net/LDAP/Server/Test.pm
@@ -131,7 +131,7 @@ Only one user-level method is implemented: new().
my @results;
my $base = $reqData->{baseObject};
# $reqData->{scope} is a enum but we want a word
- my $scope = $Scopes[defined $reqData->{scope} ? $reqData->{scope} : 0];
+ my $scope = $Scopes[defined $reqData->{scope} ? $reqData->{scope} : 2];
my @attrs = @{$reqData->{attributes} || []};
my @filters = ();

0 comments on commit 0a744c6

Please sign in to comment.