aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authordougk_ff7 <dougk_ff7@users.sourceforge.net>2002-03-04 12:28:51 +0000
committerdougk_ff7 <dougk_ff7@users.sourceforge.net>2002-03-04 12:28:51 +0000
commit8e62a19cf43fcf9b549d96428d1abf48139678ef (patch)
tree2dbf99b7070697c76726126fdc3a703109969211 /phpBB
parent081e0bdfeb2b47ad63f811eb3205bd3c1294b4a8 (diff)
downloadforums-8e62a19cf43fcf9b549d96428d1abf48139678ef.tar
forums-8e62a19cf43fcf9b549d96428d1abf48139678ef.tar.gz
forums-8e62a19cf43fcf9b549d96428d1abf48139678ef.tar.bz2
forums-8e62a19cf43fcf9b549d96428d1abf48139678ef.tar.xz
forums-8e62a19cf43fcf9b549d96428d1abf48139678ef.zip
Fixing the bug where users can find other user's email addresses from emails sent out by groupcp.
git-svn-id: file:///svn/phpbb/trunk@2262 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-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);