stekkel 23 gadi atpakaļ
vecāks
revīzija
52256cb0fc
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/compose.php

+ 1 - 1
src/compose.php

@@ -629,7 +629,7 @@ function newMail ($mailbox='', $passed_id='', $passed_ent_id='', $action='', $se
 } /* function newMail() */
 } /* function newMail() */
 
 
 function getAttachments($message, &$composeMessage, $passed_id, $entities, $imapConnection) {
 function getAttachments($message, &$composeMessage, $passed_id, $entities, $imapConnection) {
-    global $attachment_dir, $username, $data_dir;
+    global $attachment_dir, $username, $data_dir, $squirrelmail_language;
     $hashed_attachment_dir = getHashedDir($username, $attachment_dir);
     $hashed_attachment_dir = getHashedDir($username, $attachment_dir);
     if (!count($message->entities) || 
     if (!count($message->entities) || 
        ($message->type0 == 'message' && $message->type1 == 'rfc822')) {
        ($message->type0 == 'message' && $message->type1 == 'rfc822')) {