Skip to content

Commit eff312f

Browse files
authored
Fix issue 38406
Fix issue #38406
1 parent 9846306 commit eff312f

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)