From: stekkel Date: Wed, 25 Sep 2002 19:24:28 +0000 (+0000) Subject: rg=0 fix for attachment_common_types X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=03ee7515c010074877fa88440ad59ba7fd606aa0;ds=sidebyside 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 --- 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 */