Thomas Bruederli
2012-11-17 a9e136161aa08c2646530889c916035527148a5f
Use dedicated method to determine an attachment's file size
1 files modified
2 ■■■ changed files
program/steps/mail/func.inc 2 ●●● patch | view | raw | blame | history
program/steps/mail/func.inc
@@ -1220,7 +1220,7 @@
              ))
            ) .
            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'))