Browse Source

Missing global

Jimmy Conner 21 years ago
parent
commit
180afb1a65
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/compose.php

+ 1 - 1
src/compose.php

@@ -824,7 +824,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, $squirrelmail_language;
+    global $attachment_dir, $username, $data_dir, $squirrelmail_language, $languages;
     $hashed_attachment_dir = getHashedDir($username, $attachment_dir);
     if (!count($message->entities) ||
             ($message->type0 == 'message' && $message->type1 == 'rfc822')) {