mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-23 02:19:07 +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,7 +40,12 @@ if($LSsession -> startLSsession()) {
|
||||||
$filter = $_SESSION['LSsession']['LSsearch'][$LSobject]['filter'];
|
$filter = $_SESSION['LSsession']['LSsearch'][$LSobject]['filter'];
|
||||||
if (isCompatibleDNs($_SESSION['LSsession']['LSsearch'][$LSobject]['topDn'],$GLOBALS['LSsession'] -> topDn)) {
|
if (isCompatibleDNs($_SESSION['LSsession']['LSsearch'][$LSobject]['topDn'],$GLOBALS['LSsession'] -> topDn)) {
|
||||||
$topDn = $_SESSION['LSsession']['LSsearch'][$LSobject]['topDn'];
|
$topDn = $_SESSION['LSsession']['LSsearch'][$LSobject]['topDn'];
|
||||||
$selectedTopDn = $_SESSION['LSsession']['LSsearch'][$LSobject]['selectedTopDn'];
|
if (isset($_SESSION['LSsession']['LSsearch'][$LSobject]['selectedTopDn'])) {
|
||||||
|
$selectedTopDn = $_SESSION['LSsession']['LSsearch'][$LSobject]['selectedTopDn'];
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$selectedTopDn = $GLOBALS['LSsession'] -> topDn;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$selectedTopDn = $GLOBALS['LSsession'] -> topDn;
|
$selectedTopDn = $GLOBALS['LSsession'] -> topDn;
|
||||||
|
|
Loading…
Reference in a new issue