Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/3252' into develop
Browse files Browse the repository at this point in the history
Forward port zendframework/zendframework#3252

Conflicts:
	library/Zend/Log/Writer/Mail.php
	tests/ZendTest/Log/Writer/MailTest.php
  • Loading branch information
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Writer/Mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ public function __construct($mail, Transport\TransportInterface $transport = nul

if (is_array($mail)) {
parent::__construct($mail);
if (isset($mail['subject_prepend_text'])) {
$this->setSubjectPrependText($mail['subject_prepend_text']);
}
$transport = isset($mail['transport']) ? $mail['transport'] : null;
$mail = isset($mail['mail']) ? $mail['mail'] : null;
}
Expand Down

0 comments on commit 8faa67f

Please sign in to comment.