fix warning
[squirrelmail.git] / src / compose.php
index 18438443bb179ebc7970710d9311c42be68a4368..c1eb4787d2ef36bd5767aa9bec7dbb755fe09af4 100644 (file)
@@ -629,7 +629,7 @@ function newMail ($mailbox='', $passed_id='', $passed_ent_id='', $action='', $se
 } /* function newMail() */
 
 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);
     if (!count($message->entities) || 
        ($message->type0 == 'message' && $message->type1 == 'rfc822')) {