Просмотр исходного кода

rg=0 fix for attachment_common_types

stekkel 23 лет назад
Родитель
Сommit
8d940c5873
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      functions/attachment_common.php

+ 1 - 1
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 */