X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/d0a7329d722081daf35e891e1bd54c4b9caf2daa..eb14c12d3be2cd31e20988b6abf7585f6af0b34d:/invoice_send.php diff --git a/invoice_send.php b/invoice_send.php index bc290a66..3d219ab7 100644 --- a/invoice_send.php +++ b/invoice_send.php @@ -86,6 +86,8 @@ if ($request->isPost()) { $mailer->setReceiver($cl_receiver); if (isset($cl_cc)) $mailer->setReceiverCC($cl_cc); + if (!empty($user->bcc_email)) + $mailer->setReceiverBCC($user->bcc_email); $mailer->setMailMode(MAIL_MODE); if ($mailer->send($cl_subject, $body)) $msg->add($i18n->getKey('form.mail.invoice_sent'));