Ignore:
Timestamp:
07/12/12 11:32:02 (12 years ago)
Author:
marcosw
Message:

Ticket #2947 - Correção de bug no nome do arquivo exportado para Fora do Escritório

Location:
sandbox/2.4.2-expresso3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.4.2-expresso3/expressoMail1_2/inc/class.exporteml.inc.php

    r6745 r6764  
    5050                return $sEMail; 
    5151        } 
    52          
     52 
    5353        // create EML File. 
    5454        // Funcao alterada para tratar a exportacao 
     
    6262            $header    = imap_headerinfo($this->mbox_stream, imap_msgno($this->mbox_stream, $id), 80, 255); 
    6363            $subject = $this->decode_subject($header->fetchsubject); 
    64              
     64                         
    6565            if (strlen($subject) > 60) 
    6666                $subject = substr($subject, 0, 59); 
     
    228228                 
    229229                                $header    = imap_headerinfo($this->mbox_stream, imap_msgno($this->mbox_stream, $msg_number[0]), 80, 255); 
    230                 $subject = $this->decode_subject($header->fetchsubject); 
     230                $subject = $this->decode_subject(html_entity_decode($header->fetchsubject)); 
    231231 
    232232                                imap_close($this->mbox_stream); 
     
    388388                         
    389389                                $header    = imap_headerinfo($this->mbox_stream, imap_msgno($this->mbox_stream, $array_ids[0]), 80, 255); 
    390                     $subject = $this->decode_subject($header->fetchsubject); 
     390                    $subject = $this->decode_subject(html_entity_decode($header->fetchsubject)); 
    391391 
    392392                                imap_close($this->mbox_stream); 
     
    462462 
    463463                        $header    = imap_headerinfo($this->mbox_stream, imap_msgno($this->mbox_stream, $array_ids[0]), 80, 255); 
    464             $subject = $this->decode_subject($header->fetchsubject); 
     464            $subject = $this->decode_subject(html_entity_decode($header->fetchsubject)); 
    465465 
    466466                        imap_close($this->mbox_stream); 
  • sandbox/2.4.2-expresso3/prototype/modules/filters/interceptors/FilterMapping.php

    r6534 r6764  
    252252                                                $require_vacation = true; 
    253253                                                $action[$k]['parameter'] = "\"" . $action[$k]['parameter'] . "\""; 
    254                                                 $vacation_action = ' :subject "Fora do Escrit&oacuterio" ' . $action[$k]['parameter'] . ";"; 
     254                                                $vacation_action = ' :subject "Fora do Escritório" ' . $action[$k]['parameter'] . ";"; 
    255255                                                $vacation = true; 
    256256                                                continue; 
Note: See TracChangeset for help on using the changeset viewer.