From 549d7824be7fb94e051d1a1db863844ce18f6fc2 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 25 Aug 2023 13:28:45 +1200 Subject: [PATCH] Notice fix on contact types browse --- CRM/Admin/Page/ContactType.php | 1 + templates/CRM/Admin/Page/ContactType.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Admin/Page/ContactType.php b/CRM/Admin/Page/ContactType.php index 526b11194c..2766cb4ae3 100644 --- a/CRM/Admin/Page/ContactType.php +++ b/CRM/Admin/Page/ContactType.php @@ -71,6 +71,7 @@ class CRM_Admin_Page_ContactType extends CRM_Core_Page_Basic { 'ContactType', $value['id'] ); + $rows[$key] = array_merge(['class' => ''], $rows[$key]); } $this->assign('rows', $rows); } diff --git a/templates/CRM/Admin/Page/ContactType.tpl b/templates/CRM/Admin/Page/ContactType.tpl index 8428faa6f5..d50a4c97b3 100644 --- a/templates/CRM/Admin/Page/ContactType.tpl +++ b/templates/CRM/Admin/Page/ContactType.tpl @@ -32,7 +32,7 @@ {foreach from=$rows item=row} - + {ts}{$row.label}{/ts} {if $row.parent}{ts}{$row.parent_label}{/ts}{else}{ts}(built-in){/ts}{/if} {$row.description} -- 2.25.1