From dd9e93384e51a26bd5f0dac46e2fa1973155ed15 Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Sat, 9 Mar 2019 20:09:16 +0100 Subject: [PATCH] Fix to_address being logged twice --- classes/mailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/mailer.php b/classes/mailer.php index eea9f5ff6..2919eec79 100644 --- a/classes/mailer.php +++ b/classes/mailer.php @@ -20,7 +20,7 @@ class Mailer { $to_combined = $to_name ? "$to_name <$to_address>" : $to_address; if (defined('_LOG_SENT_MAIL') && _LOG_SENT_MAIL) - Logger::get()->log("Sending mail from $from_combined to $to_combined <$to_address> [$subject]: $message"); + Logger::get()->log("Sending mail from $from_combined to $to_combined [$subject]: $message"); // HOOK_SEND_MAIL plugin instructions: // 1. return 1 or true if mail is handled