From 09f4707eb2e7aad4d822ea42e9b42f4c0d7b7396 Mon Sep 17 00:00:00 2001 From: jmunro Date: Mon, 7 Oct 2002 16:41:23 +0000 Subject: [PATCH] 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 --- functions/mime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1