Skip to content

Commit

Permalink
Use dedicated method to determine an attachment's file size
Browse files Browse the repository at this point in the history
  • Loading branch information
thomascube committed Nov 17, 2012
1 parent e21c070 commit a9e1361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/steps/mail/func.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down

0 comments on commit a9e1361

Please sign in to comment.