From 5d170a8af3f51b8e30a0e17279e2e52ca3beaa52 Mon Sep 17 00:00:00 2001 From: Stanislav Kutasevits Date: Wed, 18 Sep 2024 14:10:08 +0300 Subject: [PATCH] OS-119 CPR value no address protection --- CHANGELOG.md | 2 ++ modules/os2forms_nemid/src/Plugin/WebformElement/NemidCpr.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1984009b..2e5f9ef3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ before starting to add changes. Use example [placed in the end of the page](#exa ## [Unreleased] +- [OS-119] Keeping value of CPR clean, not adding address protection text + ## [3.16.0] 2024-08-27 [#110](https://github.com/OS2Forms/os2forms/pull/110) diff --git a/modules/os2forms_nemid/src/Plugin/WebformElement/NemidCpr.php b/modules/os2forms_nemid/src/Plugin/WebformElement/NemidCpr.php index 9abd1f9e..aa34826a 100644 --- a/modules/os2forms_nemid/src/Plugin/WebformElement/NemidCpr.php +++ b/modules/os2forms_nemid/src/Plugin/WebformElement/NemidCpr.php @@ -29,7 +29,7 @@ public function getPrepopulateFieldFieldKey(array &$element) { /** * {@inheritdoc} */ - public function appendNameAddressProtectedText(CprLookupResult $cprLookupResult) { + public function getNameAddressProtectedText(CprLookupResult $cprLookupResult) { return ''; }