Skip to content
Browse files

Merge pull request #3 from dulanov/master

Incorrect response with return_result=false in Net::LDAP.search
  • Loading branch information...
2 parents 028cdee + c9bd8b4 commit 7dd6c3a10782f307ccd8b6cedcbd5301cce33d45 @RoryO RoryO committed May 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/net/ldap.rb
View
2 lib/net/ldap.rb
@@ -642,7 +642,7 @@ def search(args = {})
end
end
- @result == 0 and result_set
+ result_set || @result == 0
end
# #bind connects to an LDAP server and requests authentication based on

0 comments on commit 7dd6c3a

Please sign in to comment.
Something went wrong with that request. Please try again.