Aleksander Machniak
2013-01-15 a03c28a22f194c3cbaee46abd8def0d7b8fa7e60
program/steps/mail/show.inc
@@ -79,7 +79,7 @@
    }
  }
  $OUTPUT->set_env('mimetypes', $mimetypes);
  $OUTPUT->set_env('mimetypes', array_values($mimetypes));
  if ($CONFIG['drafts_mbox'])
    $OUTPUT->set_env('drafts_mailbox', $CONFIG['drafts_mbox']);
@@ -150,10 +150,7 @@
  if (sizeof($MESSAGE->attachments)) {
    foreach ($MESSAGE->attachments as $attach_prop) {
      $filename = $attach_prop->filename;
      if (empty($filename) && $attach_prop->mimetype == 'text/html') {
        $filename = rcube_label('htmlmessage');
      }
      $filename = rcmail_attachment_name($attach_prop, true);
      if ($PRINT_MODE) {
        $size = $RCMAIL->message_part_size($attach_prop);