1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 05:12:41 +01:00

PhabricatorMailImplementationPHPMailerLiteAdapter ignores parameter in setIsHTML

function.

Summary: Fix PhabricatorMailImplementationPHPMailerLiteAdapter to actually use
given parameter.

Test Plan: Use setIsHTML with false as parameter, sent mail should be in plain
text.

Reviewers: jungejason

Reviewed By: jungejason

CC: aran, jungejason, epriestley

Differential Revision: 1001
This commit is contained in:
Marek Sapota 2011-10-14 12:03:16 -07:00
parent 4f365e1527
commit 0bf2753b88

View file

@ -75,7 +75,7 @@ class PhabricatorMailImplementationPHPMailerLiteAdapter
} }
public function setIsHTML($is_html) { public function setIsHTML($is_html) {
$this->mailer->IsHTML(true); $this->mailer->IsHTML($is_html);
return $this; return $this;
} }