Skip to content

Commit

Permalink
Update Message.php
Browse files Browse the repository at this point in the history
update
  • Loading branch information
daoduc410 authored Aug 9, 2017
1 parent c9383c6 commit ffbe945
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Plugin/Magento/Framework/Mail/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public function __construct(
*/
public function afterSetBody(\Magento\Framework\Mail\Message $subject, $result)
{
$this->registry->unregister('mageplaza_smtp_message');
$this->registry->register('mageplaza_smtp_message', $subject);

return $result;
Expand Down

0 comments on commit ffbe945

Please sign in to comment.