From 17e2e12b84f7aacb6615aa8d14625598185a119e Mon Sep 17 00:00:00 2001 From: patdenice Date: Sun, 11 Apr 2010 12:30:32 +0000 Subject: 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 --- include/functions_mail.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/functions_mail.inc.php') 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'); -- cgit v1.2.3