From 03ee7515c010074877fa88440ad59ba7fd606aa0 Mon Sep 17 00:00:00 2001 From: stekkel Date: Wed, 25 Sep 2002 19:24:28 +0000 Subject: [PATCH] rg=0 fix for attachment_common_types git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3740 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 4033468b..1d336523 100644 --- a/functions/attachment_common.php +++ b/functions/attachment_common.php @@ -27,8 +27,8 @@ $FileExtensionToMimeType = array('bmp' => 'image/x-bitmap', 'txt' => 'text/plain', 'vcf' => 'text/x-vcard'); - /* Register browser-supported image types */ +$attachment_common_types = $_SESSION['attachment_common_types']; if (isset($attachment_common_types)) { /* Don't run this before being logged in. That may happen when plugins include mime.php */ -- 2.25.1