From 4d1cb59ae648619fc2a90cb7d2c006e437f608cf Mon Sep 17 00:00:00 2001 From: stekkel Date: Thu, 3 Nov 2005 18:14:20 +0000 Subject: [PATCH] another stupidy. It looks that i wasn't awake yesterday. Thnx Seth Randall for spotting my mistakes ;) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10239 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/compose.php b/src/compose.php index 854f03f8..d6bc7749 100644 --- a/src/compose.php +++ b/src/compose.php @@ -1681,12 +1681,12 @@ function deliverMessage($composeMessage, $draft=false) { $aMailbox['MSG_HEADERS'][$passed_id]['FLAGS'] = $aMsg['FLAGS']; } } + /** + * Write mailbox with updated seen flag information back to cache. + */ + $mailbox_cache[$iAccount.'_'.$aMailbox['NAME']] = $aMailbox; + sqsession_register($mailbox_cache,'mailbox_cache'); } - /** - * Write mailbox with updated seen flag information back to cache. - */ - $mailbox_cache[$iAccount.'_'.$aMailbox['NAME']] = $aMailbox; - sqsession_register($mailbox_cache,'mailbox_cache'); sqimap_logout($imap_stream); } return $succes; -- 2.25.1