diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/functions_mail.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php index cf982bcf3..67be16c15 100644 --- a/include/functions_mail.inc.php +++ b/include/functions_mail.inc.php @@ -718,6 +718,10 @@ function pwg_mail($to, $args=array(), $tpl=array()) { // key compose of indexes witch allow to cache mail data $cache_key = $content_type.'-'.$lang_info['code']; + if (!empty($args['auth_key'])) + { + $cache_key.= '-'.$args['auth_key']; + } if (!isset($conf_mail[$cache_key])) { |