Skip to content

Commit faea8e3

Browse files
committed
1 parent dc87600 commit faea8e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Controller/Adminhtml/Order/AddComment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function execute()
5555
}
5656

5757
$comment = trim(strip_tags($data['comment']));
58-
$history = $order->addStatusHistoryComment($comment, $orderStatus);
58+
$history = $order->addStatusHistoryComment($comment, $data['status']);
5959
$history->setIsVisibleOnFront($visible);
6060
$history->setIsCustomerNotified($notify);
6161
$history->save();

0 commit comments

Comments
 (0)