Skip to content

Commit 8899db8

Browse files
committed
Merge remote-tracking branch '38407/patch-5' into community_prs_april
2 parents 0b0f7c8 + d57a417 commit 8899db8

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Customer/Block/Address

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Block/Address/Edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ protected function _prepareLayout()
125125
if ($postedData = $this->_customerSession->getAddressFormData(true)) {
126126
$postedData['region'] = [
127127
'region_id' => isset($postedData['region_id']) ? $postedData['region_id'] : null,
128-
'region' => $postedData['region'],
128+
'region' => $postedData['region'] ?? null,
129129
];
130130
$this->dataObjectHelper->populateWithArray(
131131
$this->_address,

0 commit comments

Comments
 (0)