Added possibility to modify LSldapObject with key word SELF

This commit is contained in:
Benjamin Renard 2011-04-11 13:05:11 +02:00
parent 1692b42bf0
commit a311ed9842

View file

@ -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'])) {