From: garvinhicking Date: Sun, 30 Oct 2005 11:29:01 +0000 (+0000) Subject: Backport reply-to fix to 0.9 branch X-Git-Tag: 0.9.1~54 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e0b2459557b646c934419a2e6a1c1709f90c63a6;p=s9y.git Backport reply-to fix to 0.9 branch --- diff --git a/docs/NEWS b/docs/NEWS index caf5534..244e96b 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -1,5 +1,11 @@ # $Id$ +Version 0.9.1 () +------------------------------------------------------------------------ + + * Set the correct reply-to name when sending comment mails, thanks + to RobA from the forums (garvinhicking) + Version 0.9 (October 28th, 2005) ------------------------------------------------------------------------ diff --git a/include/functions_comments.inc.php b/include/functions_comments.inc.php index 98d82a8..f7c35ea 100644 --- a/include/functions_comments.inc.php +++ b/include/functions_comments.inc.php @@ -493,5 +493,5 @@ function serendipity_sendComment($comment_id, $to, $fromName, $fromEmail, $fromU . (($moderate_comment) ? "\n" . str_repeat(' ', 3) . str_pad(APPROVE_COMMENT, 15) . ' -- '. $approveURI : ''); } - return serendipity_sendMail($to, $subject, $text, $fromEmail); + return serendipity_sendMail($to, $subject, $text, $fromEmail, null, $fromName); } diff --git a/serendipity_config.inc.php b/serendipity_config.inc.php index 0c3357a..e912455 100644 --- a/serendipity_config.inc.php +++ b/serendipity_config.inc.php @@ -21,7 +21,7 @@ if (IS_installed === true && !defined('IN_serendipity')) { include_once(S9Y_INCLUDE_PATH . 'include/compat.inc.php'); // The version string -$serendipity['version'] = '0.9'; +$serendipity['version'] = '0.9.1'; // Name of folder for the default theme $serendipity['defaultTemplate'] = 'default';