From: stekkel Date: Thu, 3 Nov 2005 18:14:20 +0000 (+0000) Subject: another stupidy. It looks that i wasn't awake yesterday. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4d1cb59ae648619fc2a90cb7d2c006e437f608cf;p=squirrelmail.git 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 --- 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;