mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/10446] Pass $config and $user via parameter to anti_abuse_headers().
PHPBB3-10446
This commit is contained in:
@@ -150,7 +150,7 @@ class ucp_profile
|
||||
|
||||
$messenger->to($data['email'], $data['username']);
|
||||
|
||||
$messenger->anti_abuse_headers();
|
||||
$messenger->anti_abuse_headers($config, $user);
|
||||
|
||||
$messenger->assign_vars(array(
|
||||
'USERNAME' => htmlspecialchars_decode($data['username']),
|
||||
|
Reference in New Issue
Block a user