From 39ac6b8801f5ca5d52432a10bde9e5235deb3d44 Mon Sep 17 00:00:00 2001
From: garvinhicking <garvinhicking>
Date: Sun, 30 Oct 2005 11:26:04 +0000
Subject: [PATCH] Fix replyto comment name

---
 docs/NEWS                          | 6 ++++++
 include/functions_comments.inc.php | 2 +-
 serendipity_config.inc.php         | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/docs/NEWS b/docs/NEWS
index caf5534..f59f2f8 100644
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -1,5 +1,11 @@
 # $Id$
 
+Version 1.0 ()
+------------------------------------------------------------------------
+
+    * 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..8543bee 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']         = '1.0-alpha1';
 
 // Name of folder for the default theme
 $serendipity['defaultTemplate'] = 'default';
-- 
2.39.5