mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
- Bug dans le précédent commit
This commit is contained in:
parent
c1e7664313
commit
8e5a5cb6f0
2 changed files with 33 additions and 23 deletions
|
@ -87,6 +87,13 @@ if(LSsession :: startLSsession()) {
|
||||||
|
|
||||||
if (isset($_REQUEST['LSview_recur'])) {
|
if (isset($_REQUEST['LSview_recur'])) {
|
||||||
$recur = true;
|
$recur = true;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$recur = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($recur) {
|
||||||
$params['scope'] = 'sub';
|
$params['scope'] = 'sub';
|
||||||
if (LSsession :: validSubDnLdapServer($_REQUEST['LSselect_topDn'])) {
|
if (LSsession :: validSubDnLdapServer($_REQUEST['LSselect_topDn'])) {
|
||||||
$topDn = $_REQUEST['LSselect_topDn'];
|
$topDn = $_REQUEST['LSselect_topDn'];
|
||||||
|
@ -98,7 +105,6 @@ if(LSsession :: startLSsession()) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$recur = false;
|
|
||||||
$params['scope'] = 'one';
|
$params['scope'] = 'one';
|
||||||
if (LSsession :: validSubDnLdapServer($_REQUEST['LSselect_topDn'])) {
|
if (LSsession :: validSubDnLdapServer($_REQUEST['LSselect_topDn'])) {
|
||||||
$topDn = $object -> config['container_dn'].','.$_REQUEST['LSselect_topDn'];
|
$topDn = $object -> config['container_dn'].','.$_REQUEST['LSselect_topDn'];
|
||||||
|
@ -109,7 +115,6 @@ if(LSsession :: startLSsession()) {
|
||||||
$selectedTopDn = LSsession :: getTopDn();
|
$selectedTopDn = LSsession :: getTopDn();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
$sort=false;
|
$sort=false;
|
||||||
if ((isset($_REQUEST['orderby']))) {
|
if ((isset($_REQUEST['orderby']))) {
|
||||||
|
|
|
@ -141,15 +141,20 @@ if(LSsession :: startLSsession()) {
|
||||||
|
|
||||||
if (isset($_REQUEST['LSview_recur'])) {
|
if (isset($_REQUEST['LSview_recur'])) {
|
||||||
$recur = true;
|
$recur = true;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$recur = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($recur) {
|
||||||
$params['scope'] = 'sub';
|
$params['scope'] = 'sub';
|
||||||
$topDn = LSsession :: getTopDn();
|
$topDn = LSsession :: getTopDn();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$recur = false;
|
|
||||||
$params['scope'] = 'one';
|
$params['scope'] = 'one';
|
||||||
$topDn = $object -> config['container_dn'].','.LSsession :: getTopDn();
|
$topDn = $object -> config['container_dn'].','.LSsession :: getTopDn();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
$sort=false;
|
$sort=false;
|
||||||
if ((isset($_REQUEST['orderby']))) {
|
if ((isset($_REQUEST['orderby']))) {
|
||||||
|
|
Loading…
Reference in a new issue