Skip to content

Commit f53753e

Browse files
author
Stanislav Idolov
committed
MAGETWO-53464: Reorder not load products
1 parent b2ee65e commit f53753e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public function save(\Magento\Quote\Api\Data\CartInterface $quote)
152152
$currentQuote = $this->get($quote->getId(), [$quote->getStoreId()]);
153153

154154
foreach ($currentQuote->getData() as $key => $value) {
155-
if ($quote->getData($key) === null) {
155+
if (!$quote->hasData($key)) {
156156
$quote->setData($key, $value);
157157
}
158158
}

0 commit comments

Comments
 (0)