Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 0eea3b3

Browse files
committed
Fix getReservedOrderId() to use current store instead of default store
1 parent 08ec8ce commit 0eea3b3

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Quote/Model/ResourceModel

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function getReservedOrderId($quote)
167167
{
168168
return $this->sequenceManager->getSequence(
169169
\Magento\Sales\Model\Order::ENTITY,
170-
$quote->getStore()->getGroup()->getDefaultStoreId()
170+
$quote->getStore()->getStoreId()
171171
)
172172
->getNextValue();
173173
}

0 commit comments

Comments
 (0)