mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +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;
|
||||
}
|
||||
|
||||
$LSobjectInRelation = $object->getConfig("LSrelation.".$conf['relationName'].".LSobject");
|
||||
|
||||
// Load LSobject
|
||||
// Load LSselect
|
||||
if(!LSsession :: loadLSclass('LSselect', null, true)) {
|
||||
return;
|
||||
}
|
||||
|
@ -811,8 +809,8 @@ class LSrelation extends LSlog_staticLoggerClass {
|
|||
LSselect :: init(
|
||||
$_REQUEST['id'],
|
||||
array (
|
||||
$conf['objectType'] => array(
|
||||
'object_type' => $conf['objectType']
|
||||
$relation -> LSobject => array(
|
||||
'object_type' => $relation -> LSobject,
|
||||
)
|
||||
),
|
||||
true,
|
||||
|
|
Loading…
Reference in a new issue