From 23130ea0783460a0aae1367490f1ad4e1e47356d Mon Sep 17 00:00:00 2001 From: nathangray Date: Fri, 7 May 2021 10:15:05 -0600 Subject: [PATCH] * Infolog: Add info_owner/... merge placeholders --- infolog/inc/class.infolog_merge.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infolog/inc/class.infolog_merge.inc.php b/infolog/inc/class.infolog_merge.inc.php index 3a073e3bb7..a2fbb78d3a 100644 --- a/infolog/inc/class.infolog_merge.inc.php +++ b/infolog/inc/class.infolog_merge.inc.php @@ -83,6 +83,8 @@ class infolog_merge extends Api\Storage\Merge { $record = new infolog_egw_record($id); $info = array(); + // Keep original value for further processing + $info_owner = $record->info_owner; // Convert to human friendly values $types = infolog_egw_record::$types; @@ -165,6 +167,8 @@ class infolog_merge extends Api\Storage\Merge { $info+=$this->get_app_replacements($array['info_link']['app'], $array['info_link']['id'], $content, 'info_contact'); } + // Add owner fields + $info += $this->contact_replacements(Accounts::id2name($info_owner,'person_id'),'info_owner'); // Add parent if($record->info_id_parent)