mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-03 14:09:23 +00:00
Make sure that the scope config variable is set.
This commit is contained in:
parent
c4200203ca
commit
7147b5a054
@ -80,7 +80,8 @@ class ldapDrivers
|
||||
}
|
||||
}
|
||||
|
||||
//Set the search scope to be used
|
||||
//Set the search scope to be used, default to subtree.
|
||||
if (!isset($config['scope'])) $config['scope'] = 'subtree';
|
||||
switch (strtolower($config['scope'])) {
|
||||
case "base":
|
||||
$this->ldap_query_one = ldap_read;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user