No idea why that line fall off
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 29 Apr 2002 16:43:38 +0000 (16:43 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 29 Apr 2002 16:43:38 +0000 (16:43 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2767 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index bbf3953c2d0298791d902629235738eb14afefd2..eeff949586c37159528c0c57bd039a4e8c1769f8 100644 (file)
@@ -931,6 +931,7 @@ function formatAttachments($message, $ent_id, $mailbox, $id) {
             $DefaultLink =
                 "../src/download.php?startMessage=$startMessage&amp;passed_id=$id&amp;mailbox=$urlMailbox&amp;passed_ent_id=$ent";
             if ($where && $what) {
+              $DefaultLink = '&amp;where='. urlencode($where).'&amp;what='.urlencode($what);
             }
             $Links['download link']['text'] = _("download");
             $Links['download link']['href'] =