Skip to content

Commit

Permalink
Merge pull request #670 from smsalisbury/mail-set-global-subject
Browse files Browse the repository at this point in the history
Fix Mail::setGlobalSubject()
  • Loading branch information
thinkingserious authored Dec 7, 2018
2 parents e8b0c58 + b1cb7d6 commit 8d8bfe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mail/Mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ public function getReplyTo()
public function setGlobalSubject($subject)
{
if (!($subject instanceof Subject)) {
$this->subject = new Subject($subject);
$subject = new Subject($subject);
}
$this->subject = $subject;
}
Expand Down

0 comments on commit 8d8bfe0

Please sign in to comment.