Warning removal.
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 23 Nov 2001 15:02:41 +0000 (15:02 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 23 Nov 2001 15:02:41 +0000 (15:02 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1793 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/attachment_common.php
src/redirect.php

index 37f0628..5f99e30 100644 (file)
@@ -10,6 +10,9 @@
     ** $Id$
     **/
 
+  global $attachment_common_show_images_list;
+  $attachment_common_show_images_list = array();
+
   global $FileExtensionToMimeType, $attachment_common_types;
   $FileExtensionToMimeType = array('bmp'  => 'image/x-bitmap',
                                    'gif'  => 'image/gif',
index b4e96a7..3880210 100644 (file)
     session_register('attachment_common_types');
     session_register('attachment_common_types_parsed');
   
+    $debug = false;
     if (isset($HTTP_SERVER_VARS['HTTP_ACCEPT']) &&
         !isset($attachment_common_types_parsed[$HTTP_SERVER_VARS['HTTP_ACCEPT']]))
         attachment_common_parse($HTTP_SERVER_VARS['HTTP_ACCEPT'], $debug);