feature #392, bug fixed on footer link

Use auth_key in mail cache key to avoid using the auth key of the first user.
This commit is contained in:
plegall
2016-01-06 14:30:05 +01:00
parent c42f15dfa8
commit 426e10e235

View File

@@ -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]))
{