Skip to content

Commit 5de6290

Browse files
authored
ENGCOM-4321: Fixed #15059 Cannot reorder from the first try #21335
2 parents 29da4d2 + a350535 commit 5de6290

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Sales/Model/AdminOrder/Create.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
* @SuppressWarnings(PHPMD.TooManyFields)
2424
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
2525
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
26+
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
2627
* @since 100.0.2
2728
*/
2829
class Create extends \Magento\Framework\DataObject implements \Magento\Checkout\Model\Cart\CartInterface
@@ -582,6 +583,7 @@ public function initFromOrder(\Magento\Sales\Model\Order $order)
582583
}
583584

584585
$quote->getShippingAddress()->unsCachedItemsAll();
586+
$quote->getBillingAddress()->unsCachedItemsAll();
585587
$quote->setTotalsCollectedFlag(false);
586588

587589
$this->quoteRepository->save($quote);

0 commit comments

Comments
 (0)