Resolved issue with compose session not being updated on send/save.
authorjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 8 Jul 2007 06:11:59 +0000 (06:11 +0000)
committerjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 8 Jul 2007 06:11:59 +0000 (06:11 +0000)
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

ChangeLog
src/compose.php

index 32a692dd9908ce302ecc44a5afdf770866141795..4ab602548c9c83ba9e29873bd761d1cec6d537f9 100644 (file)
--- 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)
 --------------------------------------
index a1f2b18f196281c9744dd3bd5e094ec39397e1d7..8ee4b7b12966e21e582cee4ac2b80b812dfdc041 100644 (file)
@@ -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)) {