Commented out two lines. Not sure what they were suppose to do, but they
authorindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 15 Aug 2002 20:15:49 +0000 (20:15 +0000)
committerindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 15 Aug 2002 20:15:49 +0000 (20:15 +0000)
were causing download problems: Multiple files in one email would all
download with the same name, but with the correct contents.  This fixes that.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3316 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/download.php

index 1bc5f4e..8242da6 100644 (file)
@@ -140,9 +140,10 @@ if (isset($absolute_dl) && $absolute_dl == 'true') {
  * attachment in case of ERROR reporting = E_ALL and the output is the screen */
 mime_print_body_lines ($imapConnection, $passed_id, $passed_ent_id, $encoding);
 
+/*
 $message = &$message->getEntity('');
 $messages[$mbx_response['UIDVALIDITY']]["$passed_id"] = &$message;
-
+*/
 /*
  * This function is verified to work with Netscape and the *very latest*
  * version of IE.  I don't know if it works with Opera, but it should now.