X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/db2ca21db73a2ea52155510e1e0300541d6b9ef6..7090dec44236531f42af5763416db5d07c94b10a:/report_send.php diff --git a/report_send.php b/report_send.php index 9389cff2..b72c8b26 100644 --- a/report_send.php +++ b/report_send.php @@ -83,6 +83,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.report_sent'));