Skip to content

Commit

Permalink
Merge pull request #10802 from lcdservices/CRM-21004
Browse files Browse the repository at this point in the history
CRM-21004 only remove html snippet task if setting enabled
  • Loading branch information
eileenmcnaughton authored Aug 3, 2017
2 parents 5aee6c3 + b841e03 commit 0c369e8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CRM/UF/Page/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,11 @@ public function browse($action = NULL) {
$action -= CRM_Core_Action::ADD;
$action -= CRM_Core_Action::ADVANCED;
$action -= CRM_Core_Action::BASIC;
$action -= CRM_Core_Action::PROFILE;

//CRM-21004
if (array_key_exists(CRM_Core_Action::PROFILE, self::$_actionLinks)) {
$action -= CRM_Core_Action::PROFILE;
}
}

$ufGroup[$id]['group_type'] = self::formatGroupTypes($groupTypes);
Expand Down

0 comments on commit 0c369e8

Please sign in to comment.