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

Commit 723ff46

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

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).
99

1010
## [Unreleased]
1111

12+
- Fixed setting person id
13+
1214
## [1.1.1]
1315

1416
### 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)