Skip to content

Commit ea16329

Browse files
author
Roman Lytvynenko
committed
MC-21876: "Same as Billing Address" checkbox is checked automatically when re-ordering an order with different billing/shipping via Admin Panel.
1 parent 2f64c8a commit ea16329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Quote/Model/Quote/Address.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ protected function _isSameAsBilling()
429429

430430
return $this->getAddressType() == \Magento\Quote\Model\Quote\Address::TYPE_SHIPPING &&
431431
($this->_isNotRegisteredCustomer() || $this->_isDefaultShippingNullOrSameAsBillingAddress()) &&
432-
($quoteSameAsBilling || $quoteSameAsBilling === null);
432+
($quoteSameAsBilling || $quoteSameAsBilling === 0 || $quoteSameAsBilling === null);
433433
}
434434

435435
/**

0 commit comments

Comments
 (0)