Created
August 2, 2017 09:12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CRM/UF/Page/Group.php b/CRM/UF/Page/Group.php | |
index 265c2f6..736e23c 100644 | |
--- a/CRM/UF/Page/Group.php | |
+++ b/CRM/UF/Page/Group.php | |
@@ -360,7 +360,10 @@ class CRM_UF_Page_Group extends CRM_Core_Page { | |
$action -= CRM_Core_Action::ADD; | |
$action -= CRM_Core_Action::ADVANCED; | |
$action -= CRM_Core_Action::BASIC; | |
- $action -= CRM_Core_Action::PROFILE; | |
+ | |
+ if (array_key_exists(CRM_Core_Action::PROFILE, self::$_actionLinks)) { | |
+ $action -= CRM_Core_Action::PROFILE; | |
+ } | |
} | |
$ufGroup[$id]['group_type'] = self::formatGroupTypes($groupTypes); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment