From: Michael M Slusarz Date: Mon, 8 Jun 2009 18:58:54 +0000 (-0600) Subject: Fix undefined index X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2cf7c961dbae4d045190a5aebb7bfeefee57d5a5;p=horde.git Fix undefined index --- diff --git a/imp/compose-dimp.php b/imp/compose-dimp.php index 34c37d04c..dac1f3037 100644 --- a/imp/compose-dimp.php +++ b/imp/compose-dimp.php @@ -141,6 +141,8 @@ if (count($_POST)) { $html = Util::getFormData('html'); $result->index = intval(Util::getFormData('index')); + + $reply_folder = Util::getFormData('folder'); if ($reply_type = Util::getFormData('reply_type')) { $result->reply_folder = Util::getFormData('folder'); $result->reply_type = $reply_type; @@ -153,7 +155,7 @@ if (count($_POST)) { $options = array( 'readreceipt' => Util::getFormData('request_read_receipt'), - 'reply_index' => $result->index . IMP::IDX_SEP . $result->reply_folder, + 'reply_index' => $result->index . IMP::IDX_SEP . $reply_folder, 'reply_type' => $reply_type, 'save_attachments' => Util::getFormData('save_attachments_select'), 'save_sent' => (($prefs->isLocked('save_sent_mail'))