summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMichael Kuhn <[email protected]>2019-03-09 20:09:16 +0100
committerMichael Kuhn <[email protected]>2019-03-09 20:09:16 +0100
commitdd9e93384e51a26bd5f0dac46e2fa1973155ed15 (patch)
tree081b0973654cee681ced9310d886342b1093e3e9 /classes
parent900cdbbb3129a40299eb11e11b4cb10d89ec4d7c (diff)
Fix to_address being logged twice
Diffstat (limited to 'classes')
-rw-r--r--classes/mailer.php2
1 files changed, 1 insertions, 1 deletions
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