From 6f2b104c521b3959fa36d766ec56beb56991a791 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Fri, 15 Feb 2008 10:18:12 +0000 Subject: [PATCH] Fixed broken default link for plain text attachments git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12945 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/attachment_common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/attachment_common.php b/functions/attachment_common.php index a984ed77..d9fe47aa 100644 --- a/functions/attachment_common.php +++ b/functions/attachment_common.php @@ -164,7 +164,7 @@ function attachment_common_link_text(&$Args) { This is a lot better in the image links, since the defaultLink will just download the image, but the one that we set it to will format the page to have an image tag in the center (looking a lot like this text viewer) */ - $Args[5] = $Args[1]['attachment_common']['href']; + $Args[5] = $Args[0]['attachment_common']['href']; } /** -- 2.25.1