if ($priceSetId) {
// don't allow price set w/ membership.
if ($hasMembershipBlk) {
- $errors['price_set_id'] = ts('You cannot enable both Membership Signup and a Contribution Price Set on the same online contribution page');
+ $errors['price_set_id'] = ts('You cannot enable both Membership Signup and a Contribution Price Set on the same online contribution page.');
}
}
else {
->addWhere('entity_table', '=', 'civicrm_contribution_page')
->addWhere('entity_id', '=', $contributionPageId)
->addWhere('price_set.extends:name', 'CONTAINS', 'CiviMember')
+ ->addWhere('price_set.is_quick_config', '=', 0)
->execute()
->first();
if (!$priceSetExtendsMembership) {