mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 08:19:05 +01:00
LSreletation: fix object type selection
This commit is contained in:
parent
c4db08d265
commit
e53331c0ec
1 changed files with 3 additions and 5 deletions
|
@ -784,9 +784,7 @@ class LSrelation extends LSlog_staticLoggerClass {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$LSobjectInRelation = $object->getConfig("LSrelation.".$conf['relationName'].".LSobject");
|
// Load LSselect
|
||||||
|
|
||||||
// Load LSobject
|
|
||||||
if(!LSsession :: loadLSclass('LSselect', null, true)) {
|
if(!LSsession :: loadLSclass('LSselect', null, true)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -811,8 +809,8 @@ class LSrelation extends LSlog_staticLoggerClass {
|
||||||
LSselect :: init(
|
LSselect :: init(
|
||||||
$_REQUEST['id'],
|
$_REQUEST['id'],
|
||||||
array (
|
array (
|
||||||
$conf['objectType'] => array(
|
$relation -> LSobject => array(
|
||||||
'object_type' => $conf['objectType']
|
'object_type' => $relation -> LSobject,
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
true,
|
true,
|
||||||
|
|
Loading…
Reference in a new issue