Skip to content

Commit a191994

Browse files
author
schurter-cw
committed
Fix refund notification registration
1 parent 4876b4f commit a191994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Order/Payment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ public function registerRefundNotification($amount)
747747
true
748748
)->setAutomaticallyCreated(
749749
true
750-
)->register()->addComment(
750+
)->addComment(
751751
__('The credit memo has been created automatically.')
752752
);
753753
$creditmemo->save();

0 commit comments

Comments
 (0)