From c5f901704acecc7939aa7bbf414940fe769e5b69 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 18 Nov 2023 12:16:18 +1300 Subject: [PATCH] Update CRM/Member/WorkflowMessage/Membership/Membership.php Co-authored-by: colemanw --- CRM/Member/WorkflowMessage/Membership/Membership.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.25.1