aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_register.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-11-20 16:35:31 +0100
committerAndreas Fischer <bantu@phpbb.com>2011-11-20 16:35:31 +0100
commit37c766819346b830cf184fdfae9407006a621b17 (patch)
tree5d0e134bf9c2b1b4ccecf574174e4fa9a1628286 /phpBB/includes/ucp/ucp_register.php
parenta7077c91495521a8015a2e1dbbe587b2d97a8edc (diff)
downloadforums-37c766819346b830cf184fdfae9407006a621b17.tar
forums-37c766819346b830cf184fdfae9407006a621b17.tar.gz
forums-37c766819346b830cf184fdfae9407006a621b17.tar.bz2
forums-37c766819346b830cf184fdfae9407006a621b17.tar.xz
forums-37c766819346b830cf184fdfae9407006a621b17.zip
[ticket/10446] Pass $config and $user via parameter to anti_abuse_headers().
PHPBB3-10446
Diffstat (limited to 'phpBB/includes/ucp/ucp_register.php')
-rw-r--r--phpBB/includes/ucp/ucp_register.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_register.php b/phpBB/includes/ucp/ucp_register.php
index e3e719d63c..4e8729db56 100644
--- a/phpBB/includes/ucp/ucp_register.php
+++ b/phpBB/includes/ucp/ucp_register.php
@@ -366,7 +366,7 @@ class ucp_register
$messenger->to($data['email'], $data['username']);
- $messenger->anti_abuse_headers();
+ $messenger->anti_abuse_headers($config, $user);
$messenger->assign_vars(array(
'WELCOME_MSG' => htmlspecialchars_decode(sprintf($user->lang['WELCOME_SUBJECT'], $config['sitename'])),