summaryrefslogtreecommitdiff
path: root/program/steps/mail/attachments.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-07-08 07:49:58 +0000
committerthomascube <thomas@roundcube.net>2009-07-08 07:49:58 +0000
commit08b2d93f5b056187e90569e22466516b6a6b562b (patch)
tree1cda8e0f9f78783f6784c738838129d48b6f2a97 /program/steps/mail/attachments.inc
parent65e8dff41f371dcb8d360b851ed4312c59d6b713 (diff)
Fix usage of rc_mime_content_type()
Diffstat (limited to 'program/steps/mail/attachments.inc')
-rw-r--r--program/steps/mail/attachments.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/attachments.inc b/program/steps/mail/attachments.inc
index 7cd089e04..52c09b460 100644
--- a/program/steps/mail/attachments.inc
+++ b/program/steps/mail/attachments.inc
@@ -79,7 +79,7 @@ if (is_array($_FILES['_attachments']['tmp_name'])) {
$attachment = array(
'path' => $filepath,
'name' => $_FILES['_attachments']['name'][$i],
- 'mimetype' => rc_mime_content_type($filepath, $_FILES['_attachments']['type'][$i])
+ 'mimetype' => rc_mime_content_type($filepath, $_FILES['_attachments']['name'][$i], $_FILES['_attachments']['type'][$i])
);
$attachment = $RCMAIL->plugins->exec_hook('upload_attachment', $attachment);