From: Eileen McNaughton Date: Thu, 16 Nov 2023 20:45:10 +0000 (+1300) Subject: Fix setting of misnamed property X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e426d1077bb6018906463e5237474f2a1462cda3;p=civicrm-core.git Fix setting of misnamed property The property is ID, not id --- 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; }