Skip to content

Commit

Permalink
Update BaseMessage.php
Browse files Browse the repository at this point in the history
  • Loading branch information
SDKiller committed Jun 29, 2014
1 parent 876c08a commit 3792a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mail/BaseMessage.php
Expand Up @@ -41,7 +41,7 @@ abstract class BaseMessage extends Object implements MessageInterface
public function send(MailerInterface $mailer = null)
{
if ($mailer === null && $this->mailer === null) {
$mailer = Yii::$app->getMail();
$mailer = Yii::$app->getMailer();
} elseif ($mailer === null) {
$mailer = $this->mailer;
}
Expand Down

0 comments on commit 3792a38

Please sign in to comment.