Skip to content

Commit e39ce7a

Browse files
committed
Correct setFrom in Magento\Framework\Mail\Template to match Zend Message
1 parent c32ca7a commit e39ce7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Mail/Message.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ public function getBody()
9090
/**
9191
* {@inheritdoc}
9292
*/
93-
public function setFrom($fromAddress)
93+
public function setFrom($fromAddress, $name = null)
9494
{
95-
$this->zendMessage->setFrom($fromAddress);
95+
$this->zendMessage->setFrom($fromAddress, $name);
9696
return $this;
9797
}
9898

0 commit comments

Comments
 (0)