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
This commit is contained in:
patdenice
2010-04-11 12:30:32 +00:00
parent 0148df2c5d
commit 17e2e12b84
+1 -1
View File
@@ -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');