From: jangliss Date: Sun, 8 Jul 2007 06:11:59 +0000 (+0000) Subject: Resolved issue with compose session not being updated on send/save. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a7e002d2601a5e434edabe216320a2cc1a361c80;p=squirrelmail.git Resolved issue with compose session not being updated on send/save. Thanks to Michael Andreas for bringing this back up. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12511 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/ChangeLog b/ChangeLog index 32a692dd..4ab60254 100644 --- a/ChangeLog +++ b/ChangeLog @@ -201,6 +201,7 @@ Version 1.5.2 - SVN images. Thanks to Mikhail Markin, Tomas Kuliavas and Michael Jordon for reporting these issues. [CVE-2007-1262] - Fix busy loop and notice when two literals in IMAP fetch (#1739433). + - Resolved issue with compose session not being updated after send/safe. Version 1.5.1 (branched on 2006-02-12) -------------------------------------- diff --git a/src/compose.php b/src/compose.php index a1f2b18f..8ee4b7b1 100644 --- a/src/compose.php +++ b/src/compose.php @@ -412,6 +412,7 @@ if ($draft) { exit(); } else { unset($compose_messages[$session]); + sqsession_register($compose_messages,'compose_messages'); $draft_message = _("Draft Email Saved"); /* If this is a resumed draft, then delete the original */ if(isset($delete_draft)) { @@ -519,6 +520,7 @@ if ($send) { exit(); } unset($compose_messages[$session]); + sqsession_register($compose_messages,'compose_messages'); /* if it is resumed draft, delete draft message */ if ( isset($delete_draft)) {