Changeset 2067 in subversion


Ignore:
Timestamp:
Nov 19, 2008 12:16:43 PM (5 years ago)
Author:
alec
Message:
  • last change fix
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/lib/imap.inc

    r2066 r2067  
    23712371function iil_C_FetchPartHeader(&$conn, $mailbox, $id, $part) { 
    23722372 
    2373         if (empty($part)) { 
    2374             $part = 'HEADER'; 
    2375         } else { 
    2376             $part .= '.MIME'; 
    2377         } 
    2378      
     2373        $part = empty($part) ? 'HEADER' : $part.'.MIME'; 
     2374 
    23792375        return iil_C_HandlePartBody(&$conn, $mailbox, $id, $part, 1); 
    23802376} 
     
    23892385        $fp     = $conn->fp; 
    23902386        $result = false; 
    2391         if (($part == 0) || empty($part)) { 
     2387        if (empty($part)) { 
    23922388                $part = 'TEXT'; 
    23932389        } 
    2394          
     2390 
    23952391        if (iil_C_Select($conn, $mailbox)) { 
    23962392                $reply_key = '* ' . $id; 
Note: See TracChangeset for help on using the changeset viewer.