Changeset 19d1b28 in github for program/include/rcube_message.php


Ignore:
Timestamp:
Feb 13, 2009 1:44:03 PM (4 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
480a7ad
Parents:
050410f
Message:
  • Fix replying to message with html attachment (#1485676)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_message.php

    r21b160f r19d1b28  
    167167  function first_html_part() 
    168168    { 
    169     $html_part = null; 
    170  
    171169    // check all message parts 
    172170    foreach ($this->mime_parts as $mime_id => $part) { 
    173171      $mimetype = strtolower($part->ctype_primary . '/' . $part->ctype_secondary); 
    174172      if ($mimetype == 'text/html') { 
    175         $html_part = $this->imap->get_message_part($this->uid, $mime_id, $part); 
    176       } 
    177     } 
    178  
    179     return $html_part; 
     173        return $this->imap->get_message_part($this->uid, $mime_id, $part); 
     174      } 
     175    } 
    180176  } 
    181177 
Note: See TracChangeset for help on using the changeset viewer.