rg=0 fix for attachment_common_types
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 25 Sep 2002 19:24:28 +0000 (19:24 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 25 Sep 2002 19:24:28 +0000 (19:24 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3740 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/attachment_common.php

index 4033468b3e1c4ee261055bcb67c0bb9cbd3fddef..1d3365230db4e4f9835dbd9ae5926cd83e267670 100644 (file)
@@ -27,8 +27,8 @@ $FileExtensionToMimeType = array('bmp'  => 'image/x-bitmap',
                                  'txt'  => 'text/plain',
                                  'vcf'  => 'text/x-vcard');
 
                                  'txt'  => 'text/plain',
                                  'vcf'  => 'text/x-vcard');
 
-
 /* Register browser-supported image types */
 /* 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 */
 if (isset($attachment_common_types)) {
     /* Don't run this before being logged in. That may happen
        when plugins include mime.php */