Skip to content
Snippets Groups Projects
Verified Commit f4925f66 authored by Damien's avatar Damien
Browse files

FEAT #9419 TIME 0:15 user entity_path available for fusion

parent 253e8d8d
No related branches found
No related tags found
No related merge requests found
...@@ -59,6 +59,7 @@ if (!empty($res_id)) { ...@@ -59,6 +59,7 @@ if (!empty($res_id)) {
foreach ($dest as $column => $value) { foreach ($dest as $column => $value) {
$datasources['user'][0][$column] = $value; $datasources['user'][0][$column] = $value;
} }
$datasources['user'][0]['entity_path'] = \Entity\models\EntityModel::getEntityPathByEntityId(['entityId' => $_SESSION['user']['primaryentity']['id'], 'path' => '']);
} }
//COMPLEMENTARY CURRENT USER PARENT ENTITY INFO //COMPLEMENTARY CURRENT USER PARENT ENTITY INFO
...@@ -68,6 +69,7 @@ if (!empty($res_id)) { ...@@ -68,6 +69,7 @@ if (!empty($res_id)) {
foreach ($dest as $column => $value) { foreach ($dest as $column => $value) {
$datasources['user'][0]['parent_'.$column] = $value; $datasources['user'][0]['parent_'.$column] = $value;
} }
$datasources['user'][0]['parent_entity_path'] = \Entity\models\EntityModel::getEntityPathByEntityId(['entityId' => $datasources['user'][0]['parent_entity_id'], 'path' => '']);
} }
//multicontact //multicontact
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment