Changeset 4746


Ignore:
Timestamp:
07/14/11 16:21:47 (10 years ago)
Author:
brunocosta
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.0.1/expressoMail1_2/inc/gotodownload.php

    r4595 r4746  
    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.