diff options
author | plegall <plg@piwigo.org> | 2016-01-06 14:29:32 +0100 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2016-01-06 14:29:32 +0100 |
commit | c42f15dfa816912a1b09ec2a71e5ed0b39ff0d86 (patch) | |
tree | 04104d3d516e66e614b96325af2b8674ec4ea23a | |
parent | 67e142f33197af955e179a1ad09b990ac80b6698 (diff) |
add auth_key in mail footer for pwg_mail_group
Diffstat (limited to '')
-rw-r--r-- | include/functions_mail.inc.php | 8 |
1 files changed, 7 insertions, 1 deletions
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(); |