Use the LDAP wrapper for checking resources, needs for proper testing
This commit is contained in:
parent
bd881348e8
commit
561d699ca6
1 changed files with 1 additions and 1 deletions
|
@ -886,7 +886,7 @@ class Wizard extends LDAPUtility {
|
||||||
}
|
}
|
||||||
$base = $this->configuration->ldapBase[0];
|
$base = $this->configuration->ldapBase[0];
|
||||||
$cr = $this->getConnection();
|
$cr = $this->getConnection();
|
||||||
if(!is_resource($cr)) {
|
if(!$this->ldap->isResource($cr)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if(isset($filters[count($filters)-1])) {
|
if(isset($filters[count($filters)-1])) {
|
||||||
|
|
Loading…
Reference in a new issue