diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-11-17 18:11:03 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-11-17 18:11:03 +0100 |
commit | a9e136161aa08c2646530889c916035527148a5f (patch) | |
tree | afa958cbca17a4fdc7d35d1246a1455f46ec0037 /program/steps | |
parent | e21c07038e74afe8e36a86853886d994bbfc7c68 (diff) |
Use dedicated method to determine an attachment's file size
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index c27009d30..e789950e4 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1220,7 +1220,7 @@ function rcmail_message_body($attrib) )) ) . html::span('image-filename', Q($attach_prop->filename)) . - html::span('image-filesize', Q($RCMAIL->show_bytes($attach_prop->size))) . + html::span('image-filesize', Q($RCMAIL->message_part_size($attach_prop))) . html::span('attachment-links', (in_array($attach_prop->mimetype, $client_mimetypes) ? html::a($show_link, rcube_label('showattachment')) . ' ' : '') . html::a($show_link['href'] . '&_download=1', rcube_label('download')) |