aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/groupcp.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/groupcp.php')
-rw-r--r--phpBB/groupcp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/groupcp.php b/phpBB/groupcp.php
index 3ca332715b..477e6c2f0f 100644
--- a/phpBB/groupcp.php
+++ b/phpBB/groupcp.php
@@ -505,10 +505,10 @@ else if( $group_id )
include($phpbb_root_path . 'includes/emailer.'.$phpEx);
$emailer = new emailer($board_config['smtp_delivery']);
- $email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\r\n";
+ $email_headers = "From: " . $board_config['board_email'] . "\nReturn-Path: " . $board_config['board_email'] . "\nBcc: " . $email_addresses . "\r\n";
$emailer->use_template("group_approved");
- $emailer->email_address($email_addresses);
+ $emailer->email_address($userdata['user_email']);
$emailer->set_subject();//$lang['Group_approved']
$emailer->extra_headers($email_headers);