Browse Source

set default download link to absolute_dl = true to force download instead of
viewing inline

stekkel 23 years ago
parent
commit
ad96d34bde
1 changed files with 1 additions and 1 deletions
  1. 1 1
      functions/mime.php

+ 1 - 1
functions/mime.php

@@ -459,7 +459,7 @@ function formatAttachments($message, $exclude_id, $mailbox, $id) {
         }
         $defaultlink = $default_page . "?startMessage=$startMessage"
                      . "&passed_id=$id&mailbox=$urlMailbox"
-                     . '&ent_id='.$ent.$passed_ent_id_link;
+                     . '&ent_id='.$ent.$passed_ent_id_link.'&absolute_dl=true';
         if ($where && $what) {
            $defaultlink .= '&where='. urlencode($where).'&what='.urlencode($what);
         }