Skip to content

Commit

Permalink
Fix LogicBoxes\Provider::_parseContactInfo() where company is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
uphlewis committed Jan 21, 2025
1 parent a03848c commit 710dc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LogicBoxes/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ protected function _parseContactInfo(array $contact): array
'name' => $contact['name'],
'email' => $contact['emailaddr'],
'phone' => '+' . $contact['telnocc'] . $contact['telno'],
'organisation' => $contact['company'],
'organisation' => $contact['company'] ?? null,
'address1' => $contact['address1'],
'city' => $contact['city'],
'postcode' => $contact['zip'],
Expand Down

0 comments on commit 710dc76

Please sign in to comment.