Changeset 6007


Ignore:
Timestamp:
04/23/12 18:53:11 (12 years ago)
Author:
cristiano
Message:

Ticket #2647 - Trocada função que decodifica subject ao abrir mensagem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r6005 r6007  
    13611361                } 
    13621362                $return['reply_to'] = $this->decode_string($return['reply_to']); 
    1363                 $return['subject'] = $this->decode_string($header->fetchsubject); 
    1364  
    1365                 if($return['subject'] == $this->functions->getLang("(no subject)   ")){ 
    1366                         $return['subject'] = str_replace(" ","", $return['subject']); 
    1367                 } 
    1368                 if($return['subject'] == '' || $return['subject'] == null){ 
    1369                         $return['subject'] = $this->functions->getLang("(no subject)   "); 
    1370                 } 
     1363                $return['subject'] = ( isset($header->subject) && trim($header->subject) !== '' ) ?  self::decodeMimeString($header->subject) : $this->functions->getLang('(no subject)   '); 
     1364 
    13711365                $return['Size'] = $header->Size; 
    13721366                $return['reply_toaddress'] = $header->reply_toaddress; 
Note: See TracChangeset for help on using the changeset viewer.