aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-09-30 22:14:19 +0000
committerrub <rub@piwigo.org>2008-09-30 22:14:19 +0000
commit389edad2881083d2b137a220a8056582ceba2ce5 (patch)
tree7d182693fc99363dc79fee5d76af8268ccca89ca /include
parentc8827d3236f5760ac8683e338436bc4e4a9035d0 (diff)
Fix bad content of NBM mail.
Missing a file. Sorry, multiple dev on work... git-svn-id: http://piwigo.org/svn/trunk@2629 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/functions_mail.inc.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php
index 160ac1bfb..63175c2e0 100644
--- a/include/functions_mail.inc.php
+++ b/include/functions_mail.inc.php
@@ -406,7 +406,7 @@ order by
*/
function pwg_mail_group(
$group_id, $email_format, $keyargs_subject,
- $dirname, $tpl_shortname,
+ $tpl_shortname,
$assign_vars = array(), $language_selected = '')
{
// Check arguments
@@ -491,8 +491,7 @@ WHERE
switch_lang_to($elem['language']);
$mail_template = get_mail_template($email_format, $elem);
- $mail_template->set_filename($tpl_shortname,
- (empty($dirname) ? '' : $dirname.'/').$tpl_shortname.'.tpl');
+ $mail_template->set_filename($tpl_shortname, $tpl_shortname.'.tpl');
$mail_template->assign(
trigger_event('mail_group_assign_vars', $assign_vars));