LSsession :: loadLSprofilesLSobjects(): fix a PHP warning

This commit is contained in:
Benjamin Renard 2020-12-14 19:37:13 +01:00
parent a49cf4ba0c
commit ab922356c0

View file

@ -1830,7 +1830,7 @@ class LSsession {
foreach ($set as $object) {
$DNs[] = $object -> getDn();
}
if (!is_array(self :: $LSprofiles[$profile])) {
if (!isset(self :: $LSprofiles[$profile])) {
self :: $LSprofiles[$profile]=$DNs;
}
else {