We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9078004 commit 0394956Copy full SHA for 0394956
app/code/Magento/QuoteGraphQl/Model/Cart/QuoteAddressFactory.php
@@ -60,10 +60,11 @@ public function __construct(
60
*/
61
public function createBasedOnInputData(array $addressInput): QuoteAddress
62
{
63
+ $addressInput['country_id'] = '';
64
if ($addressInput['country_code']) {
65
$addressInput['country_code'] = strtoupper($addressInput['country_code']);
66
}
- $addressInput['country_id'] = $addressInput['country_code'] ?? '';
67
+ $addressInput['country_id'] = $addressInput['country_code'];
68
69
$maxAllowedLineCount = $this->addressHelper->getStreetLines();
70
if (is_array($addressInput['street']) && count($addressInput['street']) > $maxAllowedLineCount) {
0 commit comments