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

Commit

Permalink
Email : $from field not correctly passed to inner implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jan 13, 2014
1 parent 09efadc commit 74addc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/core.mailer/class.AjxpMailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function sendMail($recipients, $subject, $body, $from = null, $imageLink
$body = str_replace(array("AJXP_IMAGE_LINK", "AJXP_IMAGE_END"), "", $body);
}
$body = str_replace("AJXP_MAIL_SUBJECT", $subject, $body);
$this->sendMailImpl($recipients, $subject, $body, $from = null, $images);
$this->sendMailImpl($recipients, $subject, $body, $from, $images);
if (AJXP_SERVER_DEBUG) {
$line = "------------------------------------------------------------------------\n";
file_put_contents($this->mailCache, "Sending mail from ".print_r($from, true)." to ".print_r($recipients, true)."\n\n$subject\n\n$body\n".$line, FILE_APPEND);
Expand Down

0 comments on commit 74addc5

Please sign in to comment.