aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-04-24 15:34:12 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-04-24 15:34:12 -0500
commitfcdfe748b89426ed9d29c9e589fc5b98ed53a797 (patch)
treeb56e09d514d0c78c3297f8acf06c2f9fe2ecb46c /phpBB/includes/functions_user.php
parentebb5169a463db9a2e7c552abf87eaf1ac8d086a2 (diff)
downloadforums-fcdfe748b89426ed9d29c9e589fc5b98ed53a797.tar
forums-fcdfe748b89426ed9d29c9e589fc5b98ed53a797.tar.gz
forums-fcdfe748b89426ed9d29c9e589fc5b98ed53a797.tar.bz2
forums-fcdfe748b89426ed9d29c9e589fc5b98ed53a797.tar.xz
forums-fcdfe748b89426ed9d29c9e589fc5b98ed53a797.zip
[ticket/11454] Use set_addresses in other applicable areas
This should fix some other bugs that may not have yet been recognized--some areas only set to(), but sent according to user_notify_type, which is not necessarily email. PHPBB3-11454
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index bc636acabb..599cb24f75 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -2924,8 +2924,7 @@ function group_user_attributes($action, $group_id, $user_id_ary = false, $userna
{
$messenger->template('group_approved', $row['user_lang']);
- $messenger->to($row['user_email'], $row['username']);
- $messenger->im($row['user_jabber'], $row['username']);
+ $messenger->set_addresses($row);
$messenger->assign_vars(array(
'USERNAME' => htmlspecialchars_decode($row['username']),