mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-22 16:33:48 +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,7 +28,13 @@ if(LSsession :: startLSsession()) {
|
|||
$LSobject = $_POST['LSform_objecttype'];
|
||||
}
|
||||
else if (isset($_GET['LSobject'])) {
|
||||
$LSobject = $_GET['LSobject'];
|
||||
if ($_GET['LSobject'] == 'SELF') {
|
||||
$LSobject = LSsession :: getLSuserObject() -> getType();
|
||||
$dn = LSsession :: getLSuserObjectDn();
|
||||
}
|
||||
else {
|
||||
$LSobject = $_GET['LSobject'];
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($_POST['LSform_objectdn'])) {
|
||||
|
|
Loading…
Reference in a new issue