aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/notification/method/messenger_base.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/notification/method/messenger_base.php')
-rw-r--r--phpBB/includes/notification/method/messenger_base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/notification/method/messenger_base.php b/phpBB/includes/notification/method/messenger_base.php
index 2f9073e80b..4966aa94bc 100644
--- a/phpBB/includes/notification/method/messenger_base.php
+++ b/phpBB/includes/notification/method/messenger_base.php
@@ -80,7 +80,7 @@ abstract class phpbb_notification_method_messenger_base extends phpbb_notificati
$messenger->template($template_dir_prefix . $notification->get_email_template(), $user['user_lang']);
- $messenger->to($user['user_email'], $user['username']);
+ $messenger->set_addresses($user);
$messenger->assign_vars(array_merge(array(
'USERNAME' => $user['username'],