Browse Source

Fix to_address being logged twice

Michael Kuhn 1 year ago
parent
commit
dd9e93384e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      classes/mailer.php

+ 1 - 1
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