Skip to content
Snippets Groups Projects
Commit 8df363b3 authored by Pegane Nestor's avatar Pegane Nestor
Browse files

FEAT #7372 added entity path back

parent d75036a6
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,8 @@ if (!empty($res_id)) {
$doc['nature_id'] = $_SESSION['mail_natures'][$doc['nature_id']];
//INITIATOR INFO OF DOCUMENT
$stmt2 = $dbDatasource->query('SELECT a.entity_id as entity_id, a.entity_label as entity_label, a.parent_entity_id as parent_entity_id, b.entity_label as parent_entity_label, a.short_label as short_label, a.email as email, a.entity_type as entity_type
$stmt2 = $dbDatasource->query('SELECT a.entity_id as entity_id, a.entity_label as entity_label, a.parent_entity_id as parent_entity_id,
b.entity_label as parent_entity_label, a.short_label as short_label, a.email as email, a.entity_type as entity_type, a.entity_path as entity_path
FROM entities as a, entities as b
WHERE a.entity_id = ?
AND a.parent_entity_id = b.entity_id', array($doc['initiator']));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment