Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit eff0fe7

Browse files
committed
Fixed setting person id
1 parent 6962db8 commit eff0fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Helper/MeMoHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function buildMessage(WebformSubmissionInterface $submission, array $opti
9898
$attentionData = (new AttentionData())
9999
->setAttentionPerson((new AttentionPerson())
100100
->setLabel($recipient->getLabel())
101-
->setPersonID($options['recipient-id'])
101+
->setPersonID($recipient->getRecipientID())
102102
)
103103
->setAddress($address);
104104

0 commit comments

Comments
 (0)