From c42f15dfa816912a1b09ec2a71e5ed0b39ff0d86 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 6 Jan 2016 14:29:32 +0100 Subject: add auth_key in mail footer for pwg_mail_group --- include/functions_mail.inc.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php index 01a65091b..cf982bcf3 100644 --- a/include/functions_mail.inc.php +++ b/include/functions_mail.inc.php @@ -555,7 +555,13 @@ SELECT } } - $return &= pwg_mail($u['email'], $args, $user_tpl); + $user_args = $args; + if ($authkey !== false) + { + $user_args['auth_key'] = $authkey['auth_key']; + } + + $return &= pwg_mail($u['email'], $user_args, $user_tpl); } switch_lang_back(); -- cgit v1.2.3