From b7fafaecbfaf6aa84f0228911b229fa7b6e3e929 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Thu, 30 Jul 2015 14:25:37 +0530 Subject: [PATCH] additional fixes for CRM-16915 --- CRM/UF/Page/ProfileEditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/UF/Page/ProfileEditor.php b/CRM/UF/Page/ProfileEditor.php index 56a5ec0a29..588a2f28c7 100644 --- a/CRM/UF/Page/ProfileEditor.php +++ b/CRM/UF/Page/ProfileEditor.php @@ -29,7 +29,7 @@ class CRM_UF_Page_ProfileEditor extends CRM_Core_Page { if (CRM_Core_Permission::check('manage event profiles') && !CRM_Core_Permission::check('administer CiviCRM')) { foreach ($ufGroups['values'] as $key => $value) { $ufJoin = CRM_Core_BAO_UFGroup::getUFJoinRecord($value['id']); - if (in_array('CiviEvent', $ufJoin)) { + if (in_array('CiviEvent', $ufJoin) || in_array('CiviEvent_Additional', $ufJoin)) { $ufGroups['values'][$key]['module'] = 'CiviEvent'; } } -- 2.25.1