mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
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
This commit is contained in:
parent
081e0bdfeb
commit
8e62a19cf4
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue