additional fixes for CRM-16915
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Thu, 30 Jul 2015 08:55:37 +0000 (14:25 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Thu, 30 Jul 2015 08:55:37 +0000 (14:25 +0530)
CRM/UF/Page/ProfileEditor.php

index 56a5ec0a29ad2b839d1f05762d008191cd3c6bb7..588a2f28c74a929d1be354c4e317c34f75e2d511 100644 (file)
@@ -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';
             }
           }