aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_mail.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php
index e2aa9ceae..49eac6137 100644
--- a/include/functions_mail.inc.php
+++ b/include/functions_mail.inc.php
@@ -627,7 +627,7 @@ function pwg_mail($to, $args = array())
{
if (!isset($conf_mail[$cache_key]['theme']))
{
- $conf_mail[$cache_key]['theme'] = get_mail_template($content_type);
+ $conf_mail[$cache_key]['theme'] = get_mail_template($content_type, $args['theme']);
}
$conf_mail[$cache_key]['theme']->set_filename('mail_header', 'header.tpl');