2d try
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 25 Sep 2002 19:27:22 +0000 (19:27 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 25 Sep 2002 19:27:22 +0000 (19:27 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3741 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/attachment_common.php

index 1d3365230db4e4f9835dbd9ae5926cd83e267670..ce90a0be2ef3216fade4e55e1d3f4f912cb10fd7 100644 (file)
@@ -28,7 +28,7 @@ $FileExtensionToMimeType = array('bmp'  => 'image/x-bitmap',
                                  'vcf'  => 'text/x-vcard');
 
 /* Register browser-supported image types */
-$attachment_common_types = $_SESSION['attachment_common_types'];
+sqextractGlobalVar('attachment_common_types');
 if (isset($attachment_common_types)) {
     /* Don't run this before being logged in. That may happen
        when plugins include mime.php */