Skip to content

Commit 03f169c

Browse files
committed
ACP2E-1063: received duplicate emails after created an order from admin
1 parent 2e45de7 commit 03f169c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/AdminOrder/Create.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2008,7 +2008,7 @@ public function createOrder()
20082008
$this->orderManagement->cancel($oldOrder->getEntityId());
20092009
$order->save();
20102010
}
2011-
if ($this->getSendConfirmation()) {
2011+
if ($this->getSendConfirmation() && !$order->getEmailSent()) {
20122012
$this->emailSender->send($order);
20132013
}
20142014

0 commit comments

Comments
 (0)