fix for modified header: $filename = header->getParameter('filename')
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 8 Aug 2002 13:11:45 +0000 (13:11 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 8 Aug 2002 13:11:45 +0000 (13:11 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3277 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/compose.php

index e19db44..40f0346 100644 (file)
@@ -611,7 +611,7 @@ function getAttachments($message, $session, $passed_id, $entities, $imapConnecti
                   $filename = "untitled-".$message->entity_id.'.eml';
                }
            } else {
-               $filename = decodeHeader($message->header->filename);
+               $filename = decodeHeader($message->header->getParameter('filename'));
                if ($filename == "") {
                   $filename = "untitled-".$message->entity_id;
                }