Changeset 4842


Ignore:
Timestamp:
07/21/11 08:55:15 (10 years ago)
Author:
roberto.santosjunior
Message:

Ticket #1820 - Acerta tipo MIME nos anexos de msgs arquivados.r4746

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/gotodownload.php

    r4751 r4842  
    5050        $newfilename = $newfilename ? $newfilename      : $filename; 
    5151        $strFileType = strrev(substr(strrev(strtolower($filename)),0,4)); 
     52        if(strpos($strFileType ,"." )===false)  
     53                $strFileType = strrev(substr(strrev(strtolower($newfilename)),0,4));  
    5254 
    5355        downloadFile($strFileType, $filename, $newfilename, $fileContent, $encoding); 
Note: See TracChangeset for help on using the changeset viewer.