From 829035a8313900cdc3d2fca0ef5d1c0563049716 Mon Sep 17 00:00:00 2001 From: stekkel Date: Wed, 25 Sep 2002 19:27:22 +0000 Subject: [PATCH] 2d try git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3741 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 1d336523..ce90a0be 100644 --- a/functions/attachment_common.php +++ b/functions/attachment_common.php @@ -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 */ -- 2.25.1