From: jmunro Date: Mon, 7 Oct 2002 16:41:23 +0000 (+0000) Subject: fixes attachment links when viewing messages from search results X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=09f4707eb2e7aad4d822ea42e9b42f4c0d7b7396;p=squirrelmail.git fixes attachment links when viewing messages from search results git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3791 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/mime.php b/functions/mime.php index f912e808..1419d588 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -456,7 +456,7 @@ function formatAttachments($message, $exclude_id, $mailbox, $id) { . "&passed_id=$id&mailbox=$urlMailbox" . '&ent_id='.$ent.$passed_ent_id_link; if ($where && $what) { - $defaultlink = '&where='. urlencode($where).'&what='.urlencode($what); + $defaultlink .= '&where='. urlencode($where).'&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