Skip to content

Commit 882b3ad

Browse files
committed
Adding CPR into ServiceplatformenCPR fetch result
1 parent b50b9f0 commit 882b3ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Plugin/os2web/DataLookup/ServiceplatformenCPR.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ public function getAddress($cpr) {
130130
if ($result['status']) {
131131
return [
132132
'status' => $result['status'],
133+
'cpr' => $cpr,
133134
'name' => isset($result['adresseringsnavn']) ? $result['adresseringsnavn'] : '',
134135
'road' => isset($result['vejadresseringsnavn']) ? $result['vejadresseringsnavn'] : '',
135136
'road_no' => isset($result['husnummer']) ? ltrim($result['husnummer'], '0') : '',

0 commit comments

Comments
 (0)