From: Eileen McNaughton Date: Sun, 20 Mar 2022 20:38:17 +0000 (+1300) Subject: Enorice fix (grumpy smarty) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2aaf0e19830fae407d4c6ace139512ff2bcc8d21;p=civicrm-core.git Enorice fix (grumpy smarty) --- diff --git a/CRM/UF/Page/Group.php b/CRM/UF/Page/Group.php index 07e3daf601..c3b35bc0bb 100644 --- a/CRM/UF/Page/Group.php +++ b/CRM/UF/Page/Group.php @@ -301,7 +301,7 @@ class CRM_UF_Page_Group extends CRM_Core_Page { CRM_Utils_Hook::aclGroup(CRM_Core_Permission::ADMIN, NULL, 'civicrm_uf_group', $ufGroups, $allUFGroups); foreach ($allUFGroups as $id => $value) { - $ufGroup[$id] = []; + $ufGroup[$id] = ['class' => '']; $ufGroup[$id]['id'] = $id; $ufGroup[$id]['title'] = $value['title']; $ufGroup[$id]['frontend_title'] = $value['frontend_title']; diff --git a/templates/CRM/UF/Page/Group.tpl b/templates/CRM/UF/Page/Group.tpl index 4bfc276a74..45e3c893ee 100644 --- a/templates/CRM/UF/Page/Group.tpl +++ b/templates/CRM/UF/Page/Group.tpl @@ -69,7 +69,7 @@ {foreach from=$rows item=row} {if !$row.is_reserved } - + {$row.title} {$row.frontend_title}