set default download link to absolute_dl = true to force download instead of
[squirrelmail.git] / functions / mime.php
index 3b7936d58f50a63956e3ec3265092d830ec22f41..597c62f7e5bc77b55e04825a0fd55c2ac39ddf8f 100644 (file)
@@ -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);
         }