Fix body onload per FIXME
[squirrelmail.git] / src / download.php
index 166ad0fff8d412da4a5dbcfd48f44d3f3cd16f8f..896e86be9d1241f566549a9ee9630e676e0eb7b0 100644 (file)
@@ -175,5 +175,5 @@ if (isset($absolute_dl) && $absolute_dl) {
 }
 /* be aware that any warning caused by download.php will corrupt the
  * attachment in case of ERROR reporting = E_ALL and the output is the screen */
-mime_print_body_lines ($imapConnection, $passed_id, $ent_id, $encoding, $force_crlf);
+mime_print_body_lines ($imapConnection, $passed_id, $ent_id, $encoding, 'php://stdout', $force_crlf);