correct greg Kron pbm
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Thu, 6 Jan 2005 15:33:16 +0000 (15:33 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:27:11 +0000 (23:27 +0200)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-220

htdocs/emails/send.php

index 08b4a01..6f62647 100644 (file)
@@ -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()) {