From: Eileen McNaughton Date: Fri, 17 Nov 2023 23:16:18 +0000 (+1300) Subject: Update CRM/Member/WorkflowMessage/Membership/Membership.php X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c5f901704acecc7939aa7bbf414940fe769e5b69;p=civicrm-core.git Update CRM/Member/WorkflowMessage/Membership/Membership.php Co-authored-by: colemanw --- diff --git a/CRM/Member/WorkflowMessage/Membership/Membership.php b/CRM/Member/WorkflowMessage/Membership/Membership.php index a66a7a46ec..f12c594bcf 100644 --- a/CRM/Member/WorkflowMessage/Membership/Membership.php +++ b/CRM/Member/WorkflowMessage/Membership/Membership.php @@ -167,7 +167,7 @@ class CRM_Member_WorkflowMessage_Membership_Membership extends WorkflowMessageEx private function getPriceSet(): ?array { if (!$this->priceSets) { $priceSets = (array) PriceSet::get(FALSE) - ->addWhere('extends', '=', CRM_Core_Component::getComponentID('CiviMember')) + ->addWhere('extends:name', 'CONTAINS', 'CiviMember') ->addOrderBy('is_quick_config', 'DESC') ->execute()->indexBy('id'); $priceSetEntities = PriceSetEntity::get(FALSE)