mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
- LSselect : Correction d'un bug de sélection du topDn lors d'une recherche
chargée à partir du cache lui même créé par LSsearch
This commit is contained in:
parent
45856aca50
commit
c857c680a4
1 changed files with 6 additions and 1 deletions
|
@ -40,8 +40,13 @@ if($LSsession -> startLSsession()) {
|
|||
$filter = $_SESSION['LSsession']['LSsearch'][$LSobject]['filter'];
|
||||
if (isCompatibleDNs($_SESSION['LSsession']['LSsearch'][$LSobject]['topDn'],$GLOBALS['LSsession'] -> topDn)) {
|
||||
$topDn = $_SESSION['LSsession']['LSsearch'][$LSobject]['topDn'];
|
||||
if (isset($_SESSION['LSsession']['LSsearch'][$LSobject]['selectedTopDn'])) {
|
||||
$selectedTopDn = $_SESSION['LSsession']['LSsearch'][$LSobject]['selectedTopDn'];
|
||||
}
|
||||
else {
|
||||
$selectedTopDn = $GLOBALS['LSsession'] -> topDn;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$selectedTopDn = $GLOBALS['LSsession'] -> topDn;
|
||||
$topDn = $object -> config['container_dn'].','.$GLOBALS['LSsession'] -> topDn;
|
||||
|
|
Loading…
Reference in a new issue