mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
LSaddon::supann Fix PHP5 support
This commit is contained in:
parent
872a15af94
commit
17b9701061
1 changed files with 1 additions and 1 deletions
|
@ -452,7 +452,7 @@ function supanGetParrainInfoByDN($dn) {
|
||||||
$obj = new $type();
|
$obj = new $type();
|
||||||
$list = $obj -> listObjectsName(
|
$list = $obj -> listObjectsName(
|
||||||
NULL, $dn,
|
NULL, $dn,
|
||||||
array('onlyAccessible' => false, 'scope' => 'base'),
|
array('onlyAccessible' => false, 'scope' => 'base')
|
||||||
);
|
);
|
||||||
if (count($list)==1) {
|
if (count($list)==1) {
|
||||||
$matched['type'] = $type;
|
$matched['type'] = $type;
|
||||||
|
|
Loading…
Reference in a new issue