From 01c86f2e7c9eb4f2dff6d670ea8f36c431b9b476 Mon Sep 17 00:00:00 2001 From: thomascube Date: Sat, 4 Mar 2006 13:45:30 +0000 Subject: Minor bugfixes --- program/steps/mail/compose.inc | 4 ++-- program/steps/mail/func.inc | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'program/steps') diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 58465062f..8a41bdea3 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -142,7 +142,7 @@ function rcmail_compose_headers($attrib) 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 @@ function rcmail_compose_subject($attrib) // 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'])) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 926121dea..dc510b059 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -300,12 +300,12 @@ function rcmail_message_list($attrib) // add col definition $out .= ''; - $out .= ''; + $out .= ''; foreach ($a_show_cols as $col) - $out .= sprintf('', $col); + $out .= sprintf('', $col); - $out .= ''; + $out .= ''; $out .= "\n"; // add table title @@ -366,7 +366,6 @@ function rcmail_message_list($attrib) $out .= ''.($attrib['attachmenticon'] ? sprintf($image_tag, $skin_path, $attrib['attachmenticon'], '') : '')."\n"; $out .= "\n\n"; - // no messages in this mailbox if (!sizeof($a_headers)) { -- cgit v1.2.3