Skip to content

Commit 7001229

Browse files
MAGETWO-98087: [2.3] Customer Group Regression issues from MAGETWO-96886
1 parent 548dd31 commit 7001229

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Backend/Model/Session

1 file changed

+2
-1
lines changed

app/code/Magento/Backend/Model/Session/Quote.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ public function getQuote()
149149
$this->_quote = $this->quoteFactory->create();
150150
if ($this->getStoreId()) {
151151
if (!$this->getQuoteId()) {
152-
$this->_quote->setCustomerGroupId($this->groupManagement->getDefaultGroup($this->getStoreId())->getId());
152+
$customerGroupId = $this->groupManagement->getDefaultGroup($this->getStoreId())->getId();
153+
$this->_quote->setCustomerGroupId($customerGroupId);
153154
$this->_quote->setIsActive(false);
154155
$this->_quote->setStoreId($this->getStoreId());
155156

0 commit comments

Comments
 (0)