Commit b63305b6 authored by Yadd's avatar Yadd
Browse files

Fix bad return (#595)

parent b1c96820
......@@ -226,7 +226,7 @@ sub getDone {
sub _search {
my ( $self, $filter ) = @_;
my $ldap = _ldap($self) or return 0;
my $ldap = _ldap($self) or return ();
my $search = $ldap->search(
base => $self->{ldapConfBase},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment