We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc87600 commit faea8e3Copy full SHA for faea8e3
app/code/Magento/Sales/Controller/Adminhtml/Order/AddComment.php
@@ -55,7 +55,7 @@ public function execute()
55
}
56
57
$comment = trim(strip_tags($data['comment']));
58
- $history = $order->addStatusHistoryComment($comment, $orderStatus);
+ $history = $order->addStatusHistoryComment($comment, $data['status']);
59
$history->setIsVisibleOnFront($visible);
60
$history->setIsCustomerNotified($notify);
61
$history->save();
0 commit comments