From bcfcc513989de2785d0bd947c4f14e8814d599b1 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 12 Oct 2021 15:50:37 -0600 Subject: [PATCH] Hide parent & contact in parent placeholder list --- infolog/inc/class.infolog_merge.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/infolog/inc/class.infolog_merge.inc.php b/infolog/inc/class.infolog_merge.inc.php index 9d29ebc773..eb8ffd61c3 100644 --- a/infolog/inc/class.infolog_merge.inc.php +++ b/infolog/inc/class.infolog_merge.inc.php @@ -248,6 +248,11 @@ class infolog_merge extends Api\Storage\Merge $this->get_placeholder_list(($prefix ? $prefix . '/' : '') . 'info_id_parent') ); } + else + { + unset($placeholders[lang('parent')]); + unset($placeholders[lang($tracking->field2label['info_from'])]); + } return $placeholders; } }