Merge branch 'filter_single_clauses' of https://github.com/Jamstah/ruby-net-ldap into jamstah-filter_single_clauses
This commit is contained in:
commit
7ae8e28550
3 changed files with 13 additions and 8 deletions
|
@ -696,7 +696,7 @@ class Net::LDAP::Filter
|
|||
filter = nil
|
||||
branches = parse_branches(scanner)
|
||||
|
||||
if branches.size >= 2
|
||||
if branches.size >= 1
|
||||
filter = branches.shift
|
||||
while not branches.empty?
|
||||
filter = filter.__send__(op, branches.shift)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue