X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fattachment_common.php;h=d9fe47aaac4b937e62b7b98e79d5d582dbdc2f9b;hb=596cc029fbfd698e8e34aab1c06fa22a8dd3a6b0;hp=a984ed77deb3b50bc6ce13f0fc77fc94f2f26baa;hpb=9c6e960daa665f1fa32715745fd37282afb1f42e;p=squirrelmail.git 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']; } /**