set default download link to absolute_dl = true to force download instead of
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 23 Oct 2002 17:48:08 +0000 (17:48 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 23 Oct 2002 17:48:08 +0000 (17:48 +0000)
viewing inline

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

functions/mime.php

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