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

Commit 4bad8be

Browse files
⏫ Forwardport of magento/magento2#12998 to 2.3-develop branch
1 parent b7dc2b3 commit 4bad8be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Sales/Model/Order/CustomerManagement.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ public function create($orderId)
131131
$customer = $this->customerFactory->create(['data' => $customerData]);
132132
$account = $this->accountManagement->createAccount($customer);
133133
$order->setCustomerId($account->getId());
134+
$order->setCustomerIsGuest(0);
134135
$this->orderRepository->save($order);
135136

136137
return $account;

0 commit comments

Comments
 (0)