Skip to content

Commit f76f4aa

Browse files
committed
ACP2E-1063: received duplicate emails after created an order from admin
1 parent 470c8b4 commit f76f4aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2010,7 +2010,7 @@ public function createOrder()
20102010
$this->orderManagement->cancel($oldOrder->getEntityId());
20112011
$order->save();
20122012
}
2013-
if ($this->getSendConfirmation() && !$this->getEmailSent()) {
2013+
if ($this->getSendConfirmation() && !$order->getEmailSent()) {
20142014
$this->emailSender->send($order);
20152015
}
20162016

0 commit comments

Comments
 (0)