Typo in mail sending code, failing to ignore empty cc

Bug #494900 reported by Petter Reinholdtsen on 2009-12-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

When configuring one of the site messages to not have a CC entry, memberdb complain a lot about problems with mail sending. The cause is a typo in the site_message() function, failing to handle an empty cc properly. This patch solve the issue.

--- backend/site_messages.inc 2006-08-09 02:29:40 +0000
+++ backend/site_messages.inc 2009-12-10 07:45:18 +0000
@@ -52,9 +52,8 @@
 // $mail =& Mail::factory('mail');

   $recipients= $message->mail_to;
- $recipients.=','.$message->mail_cc;
- $receipients.=$message->mail_cc;
+ $recipients.=','.$message->mail_cc;

   $headers['From'] = $config['from'];
   $headers['To'] = $message->mail_to;

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers