LSaddon::supann Fix PHP5 support

This commit is contained in:
Benjamin Renard 2021-10-08 11:52:23 +02:00
parent 872a15af94
commit 17b9701061

View file

@ -452,7 +452,7 @@ function supanGetParrainInfoByDN($dn) {
$obj = new $type();
$list = $obj -> listObjectsName(
NULL, $dn,
array('onlyAccessible' => false, 'scope' => 'base'),
array('onlyAccessible' => false, 'scope' => 'base')
);
if (count($list)==1) {
$matched['type'] = $type;