mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
LSsession :: loadLSprofiles() : Fixed notice PHP
This commit is contained in:
parent
b00b3825f1
commit
c577b7a706
1 changed files with 3 additions and 3 deletions
|
@ -1518,7 +1518,7 @@ class LSsession {
|
|||
if (is_array($rightsInfos)) {
|
||||
foreach ($rightsInfos as $LSobject => $listInfos) {
|
||||
if (self :: loadLSclass('LSsearch')) {
|
||||
if ($listInfos['filter']) {
|
||||
if (isset($listInfos['filter'])) {
|
||||
$filter = self :: getLSuserObject() -> getFData($listInfos['filter']);
|
||||
}
|
||||
else {
|
||||
|
@ -1526,11 +1526,11 @@ class LSsession {
|
|||
}
|
||||
|
||||
$params = array (
|
||||
'basedn' => $listInfos['basedn'],
|
||||
'basedn' => (isset($listInfos['basedn'])?$listInfos['basedn']:null),
|
||||
'filter' => $filter
|
||||
);
|
||||
|
||||
if (is_array($listInfos['params'])) {
|
||||
if (isset($listInfos['params']) && is_array($listInfos['params'])) {
|
||||
$params = array_merge($listInfos['params'],$params);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue