From 01c86f2e7c9eb4f2dff6d670ea8f36c431b9b476 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sat, 04 Mar 2006 08:45:30 -0500
Subject: [PATCH] Minor bugfixes

---
 program/steps/mail/compose.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 5846506..8a41bde 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -142,7 +142,7 @@
 
     
   if ($fname && !empty($_POST[$fname]))
-    $fvalue = get_input_value($fname, RCUBE_INPUT_POST);
+    $fvalue = get_input_value($fname, RCUBE_INPUT_POST, TRUE);
   else if ($header && is_object($REPLY_MESSAGE['headers']))
     {
     // get recipent address(es) out of the message headers
@@ -433,7 +433,7 @@
 
   // use subject from post
   if (isset($_POST['_subject']))
-    $subject = get_input_value('_subject', RCUBE_INPUT_POST);
+    $subject = get_input_value('_subject', RCUBE_INPUT_POST, TRUE);
     
   // create a reply-subject
   else if (isset($REPLY_MESSAGE['subject']))

--
Gitblit v1.9.1