From: Pierre Habouzit (MadCoder Date: Thu, 6 Jan 2005 15:33:16 +0000 (+0000) Subject: correct greg Kron pbm X-Git-Tag: xorg/old~530 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=a29e7b049f80b5fa1edead4d79435e4dadb06300;p=platal.git correct greg Kron pbm git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-220 --- diff --git a/htdocs/emails/send.php b/htdocs/emails/send.php index 08b4a01..6f62647 100644 --- a/htdocs/emails/send.php +++ b/htdocs/emails/send.php @@ -43,7 +43,7 @@ if (Env::get('submit') == 'Envoyer') $mymail->setSubject($subj); if (!empty($to)) { $mymail->addTo($to); } if (!empty($cc)) { $mymail->addCc($cc); } - if (!empty($bcc)) { $mymail->addCc($bcc); } + if (!empty($bcc)) { $mymail->addBcc($bcc); } if (!empty($to2)) { $mymail->addTo($to2); } $mymail->setTxtBody(wordwrap($txt,72,"\n")); if ($mymail->send()) {