Skip to content

Commit 17f86a6

Browse files
committed
Saving citizenship country code
1 parent 4d2d594 commit 17f86a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Plugin/os2web/DataLookup/ServiceplatformenCPRExtended.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public function lookup($cpr, $fetchChildren = TRUE, $allowCprTestModeReplace = T
140140
}
141141

142142
if ($persondata->statsborgerskab) {
143-
$cprResult->setCitizenshipCode($persondata->statsborgerskab->landekode);
143+
$cprResult->setCitizenshipCountryCode($persondata->statsborgerskab->landekode);
144144

145145
if ($persondata->statsborgerskab->landekode == self::DENMARK_COUNTRY_CODE) {
146146
$cprResult->setCitizen(TRUE);

0 commit comments

Comments
 (0)