aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-04-11 12:30:32 +0000
committerpatdenice <patdenice@piwigo.org>2010-04-11 12:30:32 +0000
commit17e2e12b84f7aacb6615aa8d14625598185a119e (patch)
treea25ef4f3781cf943389bbc2d325cae36bdad4f39
parent0148df2c5d5518c617f9450abd30f43fabcf8333 (diff)
User theme was not used for header and footer in NBM.
git-svn-id: http://piwigo.org/svn/trunk@5796 68402e56-0260-453c-a942-63ccdbb3a9ee
-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');