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

FEAT #7372 every entity columns in template fields

parent d6dcb0cd
No related branches found
No related tags found
No related merge requests found
...@@ -36,8 +36,7 @@ if (!empty($res_id)) { ...@@ -36,8 +36,7 @@ if (!empty($res_id)) {
$doc['nature_id'] = $_SESSION['mail_natures'][$doc['nature_id']]; $doc['nature_id'] = $_SESSION['mail_natures'][$doc['nature_id']];
//INITIATOR INFO OF DOCUMENT //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, $stmt2 = $dbDatasource->query('SELECT a.*, b.entity_label as parent_entity_label
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 FROM entities as a, entities as b
WHERE a.entity_id = ? WHERE a.entity_id = ?
AND a.parent_entity_id = b.entity_id', array($doc['initiator'])); 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.
Finish editing this message first!
Please register or to comment