From e7d7e7bb4356525a1f49540776de86044ce8e119 Mon Sep 17 00:00:00 2001 From: Tim Repke <timmothey@gmx.de> Date: Fri, 18 Sep 2015 22:04:51 +0200 Subject: [PATCH] now also sending the regmail as bcc to admin --- registration-system/frameworks/environment.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/registration-system/frameworks/environment.php b/registration-system/frameworks/environment.php index 89e98a6..31d7a0b 100644 --- a/registration-system/frameworks/environment.php +++ b/registration-system/frameworks/environment.php @@ -243,7 +243,8 @@ class Environment { "{{paydeadline}}" => $from['paydeadline'], "{{payinfo}}" => $from['payinfo'], "{{wikilink}}" => $from['wikilink']]); - comm_send_mail($this->database, $to, $mail, $from['kontakt'], $from['kontakt']); + $bcc = $mail_lang === "lang_payinfomail" ? $from['kontakt'] : NULL; + comm_send_mail($this->database, $to, $mail, $from['kontakt'], $bcc); } } } \ No newline at end of file -- GitLab