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

Commit f1ecb11

Browse files
Merge forwardport of magento/magento2#12998 to 2.3-develop branch
Applied pull request patch https://github.com/magento/magento2/pull/12998.patch (created by @srenon) based on commit(s): 1. 3a8e692
2 parents f7c00d7 + 4bad8be commit f1ecb11

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)