From: jitendrapurohit Date: Thu, 30 Jul 2015 08:55:37 +0000 (+0530) Subject: additional fixes for CRM-16915 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b7fafaecbfaf6aa84f0228911b229fa7b6e3e929;p=civicrm-core.git additional fixes for CRM-16915 --- 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'; } }