Skip to content

Commit 18b5d6d

Browse files
author
Hayder Sharhan
committed
MAGETWO-54580: [Github][PR] added partial fix for issue #2617. #3688
- Added message to clarify and prevent future changes.
1 parent 8236628 commit 18b5d6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Newsletter/Model/Subscriber.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@ public function subscribe($email)
442442
$this->setStatusChanged(true);
443443

444444
try {
445+
/* Save model before sending out email */
445446
$this->save();
446447
if ($isConfirmNeed === true
447448
&& $isOwnSubscribes === false

0 commit comments

Comments
 (0)