From e426d1077bb6018906463e5237474f2a1462cda3 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 17 Nov 2023 09:45:10 +1300 Subject: [PATCH] Fix setting of misnamed property The property is ID, not id --- CRM/Member/WorkflowMessage/MembershipTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Member/WorkflowMessage/MembershipTrait.php b/CRM/Member/WorkflowMessage/MembershipTrait.php index 665fd4cb7e..30bcd251f6 100644 --- a/CRM/Member/WorkflowMessage/MembershipTrait.php +++ b/CRM/Member/WorkflowMessage/MembershipTrait.php @@ -31,7 +31,7 @@ trait CRM_Member_WorkflowMessage_MembershipTrait { public function setMembership(array $membership): self { $this->membership = $membership; if (!empty($membership['id'])) { - $this->membershipId = $membership['id']; + $this->membershipID = $membership['id']; } return $this; } -- 2.25.1