Changeset 3794 in subversion


Ignore:
Timestamp:
Jun 30, 2010 5:13:45 AM (3 years ago)
Author:
alec
Message:
  • Show attachment icon on the list also for messages with Content-Type: application/*
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/func.inc

    r3780 r3794  
    322322    if ($header->flagged) 
    323323      $a_msg_flags['flagged'] = 1; 
    324     if(preg_match("/multipart\/m/i", $header->ctype)) 
     324    if (preg_match("/(application\/|multipart\/m)/i", $header->ctype)) 
    325325      $a_msg_flags['attachment'] = 1; 
    326326    $a_msg_flags['mbox'] = $mbox; 
Note: See TracChangeset for help on using the changeset viewer.