thomascube
2006-09-08 70d4b9a5dc39a7165e469aa3b4f24d49e9a20b9e
program/steps/mail/compose.inc
@@ -497,9 +497,9 @@
  
function rcmail_write_compose_attachments(&$message)
  {
  global $IMAP;
  $temp_dir = rcmail_create_compose_tempdir();
  global $IMAP, $CONFIG;
  $temp_dir = unslashify($CONFIG['temp_dir']);
  if (!is_array($_SESSION['compose']['attachments']))
    $_SESSION['compose']['attachments'] = array();