mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
Added possibility to modify LSldapObject with key word SELF
This commit is contained in:
parent
1692b42bf0
commit
a311ed9842
1 changed files with 7 additions and 1 deletions
|
@ -28,8 +28,14 @@ if(LSsession :: startLSsession()) {
|
||||||
$LSobject = $_POST['LSform_objecttype'];
|
$LSobject = $_POST['LSform_objecttype'];
|
||||||
}
|
}
|
||||||
else if (isset($_GET['LSobject'])) {
|
else if (isset($_GET['LSobject'])) {
|
||||||
|
if ($_GET['LSobject'] == 'SELF') {
|
||||||
|
$LSobject = LSsession :: getLSuserObject() -> getType();
|
||||||
|
$dn = LSsession :: getLSuserObjectDn();
|
||||||
|
}
|
||||||
|
else {
|
||||||
$LSobject = $_GET['LSobject'];
|
$LSobject = $_GET['LSobject'];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (isset($_POST['LSform_objectdn'])) {
|
if (isset($_POST['LSform_objectdn'])) {
|
||||||
$dn = $_POST['LSform_objectdn'];
|
$dn = $_POST['LSform_objectdn'];
|
||||||
|
|
Loading…
Reference in a new issue