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