fixes attachment links when viewing messages from search results
authorjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 7 Oct 2002 16:41:23 +0000 (16:41 +0000)
committerjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 7 Oct 2002 16:41:23 +0000 (16:41 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3791 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index f912e8085e6528a368e52d59afa1795b63fab941..1419d58854dd7a859d3140abc07a842c07a9886a 100644 (file)
@@ -456,7 +456,7 @@ function formatAttachments($message, $exclude_id, $mailbox, $id) {
                      . "&amp;passed_id=$id&amp;mailbox=$urlMailbox"
                      . '&amp;ent_id='.$ent.$passed_ent_id_link;
         if ($where && $what) {
-           $defaultlink = '&amp;where='. urlencode($where).'&amp;what='.urlencode($what);
+           $defaultlink .= '&amp;where='. urlencode($where).'&amp;what='.urlencode($what);
         }
         /* This executes the attachment hook with a specific MIME-type.
          * If that doesn't have results, it tries if there's a rule