support for picking up attachments in case of a expired session
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 31 Jul 2002 23:14:43 +0000 (23:14 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 31 Jul 2002 23:14:43 +0000 (23:14 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3215 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/move_messages.php

index bd121451773fa75c7a7e6dcd3b628b74a4dffdb8..2f632896820505cb28569d9833aac09fde66c0dd 100644 (file)
@@ -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;
 }