From: stekkel Date: Wed, 31 Jul 2002 23:14:43 +0000 (+0000) Subject: support for picking up attachments in case of a expired session X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=6540ee5ef6f1183ea6620fec82ac53f82316a419 support for picking up attachments in case of a expired session git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3215 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/move_messages.php b/src/move_messages.php index bd121451..2f632896 100644 --- a/src/move_messages.php +++ b/src/move_messages.php @@ -46,7 +46,6 @@ function attachSelectedMessages($msg, $imapConnection) { global $mailbox, $username, $attachment_dir, $attachments, $identity, $data_dir, $composesession, $lastTargetMailbox, $uid_support; - if (!isset($attachments)) { $attachments = array(); session_register('attachments'); @@ -120,6 +119,7 @@ function attachSelectedMessages($msg, $imapConnection) { $i++; } + setPref($data_dir, $username, 'attachments', serialize($attachments)); return $composesession; }