alecpl
2010-02-15 3b1426a1e5ec167f76fccedac7648a84337d1d87
- lost fix for Attachment Excessive Memory Use issue (#1484660)


1 files modified
5 ■■■■■ changed files
program/steps/mail/compose.inc 5 ●●●●● patch | view | raw | blame | history
program/steps/mail/compose.inc
@@ -743,9 +743,10 @@
    'mimetype' => $part->ctype_primary . '/' . $part->ctype_secondary,
    'content_id' => $part->content_id,
    'data' => $data,
    'path' => $path
    'path' => $path,
    'size' => $path ? filesize($path) : strlen($data),
  );
  $attachment = rcmail::get_instance()->plugins->exec_hook('save_attachment', $attachment);
  if ($attachment['status']) {