Skip to content
Snippets Groups Projects
Commit 85e3b778 authored by eileen's avatar eileen
Browse files

#2115 remove reference to financialACLs in bounce

I believe that the other 2 criteria suffice. allMembershipDetails is built from
CRM_Member_BAO_Membership::buildMembershipTypeValues()  which is altered by
financial acls but also potentially by other extensions so I don't think the bounce
should be restricted to when financial acls are in play
parent e5c67186
Branches
Tags
No related merge requests found
......@@ -470,8 +470,7 @@ class CRM_Member_Form_Membership extends CRM_Member_Form {
$selOrgMemType[0][0] = $selMemTypeOrg[0] = ts('- select -');
// Throw status bounce when no Membership type or priceset is present
if (CRM_Financial_BAO_FinancialType::isACLFinancialTypeStatus()
&& empty($this->allMembershipTypeDetails) && empty($priceSets)
if (empty($this->allMembershipTypeDetails) && empty($priceSets)
) {
CRM_Core_Error::statusBounce(ts('You do not have all the permissions needed for this page.'));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment