From 9ceec74971f85022ad61699dc209d7044945b149 Mon Sep 17 00:00:00 2001 From: rub Date: Mon, 12 Feb 2007 23:21:23 +0000 Subject: When not template are selected for mail, PWG uses default template.. Sent multi-part message in MIME format. (With only one part for the moment). Improvement pwg_mail function. git-svn-id: http://piwigo.org/svn/trunk@1809 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/picture_comment.inc.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include/picture_comment.inc.php') diff --git a/include/picture_comment.inc.php b/include/picture_comment.inc.php index 194e715c8..e9bad6f79 100644 --- a/include/picture_comment.inc.php +++ b/include/picture_comment.inc.php @@ -223,10 +223,8 @@ if ( $page['show_comments'] and isset( $_POST['content'] ) ) 'Validate: '.get_absolute_root_url() .'comments.php?validate='.$comm['id']; } - pwg_mail( get_webmaster_mail_address(), '', - 'PWG comment by '.$comm['author'], - $content - ); + pwg_mail(get_webmaster_mail_address(), + array('subject' => 'PWG comment by '.$comm['author'], 'content' => $content)); } } else -- cgit v1.2.3