Ignore:
Timestamp:
10/21/10 11:46:13 (13 years ago)
Author:
eduardoalex
Message:

Ticket #1254 - Correcao do erro narrado no ticket em questão

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/inc/class.imap_functions.inc.php

    r3385 r3387  
    20272027 
    20282028                //      Build Uploading Attachments!!! 
    2029                 if ((count($attachments)) && ($params['is_local_forward']!="1")) //Caso seja forward normal... 
     2029                if (count($attachments)>0) //Caso seja forward normal... 
    20302030                { 
    20312031                        $total_uploaded_size = 0; 
     
    20332033                        foreach ($attachments as $attach) 
    20342034                        { 
     2035                                if($attach['name']=='Unknown') 
     2036                                        continue; 
    20352037                                $mail->AddAttachment($attach['tmp_name'], $attach['name'], "base64", $this->get_file_type($attach['name']));  // optional name 
    20362038                                $total_uploaded_size = $total_uploaded_size + $attach['size']; 
    20372039                        } 
    2038                         if( $total_uploaded_size > $upload_max_filesize) 
     2040                        if( $total_uploaded_size > $upload_max_filesize){ 
    20392041                                return $this->parse_error("message file too big"); 
    2040                 } 
    2041                 else if(($params['is_local_forward']=="1") && (count($local_attachments))) { //Caso seja forward de mensagens locais 
     2042                        } 
     2043                } 
     2044                if(count($local_attachments)>0) { //Caso seja forward de mensagens locais 
    20422045 
    20432046                        $total_uploaded_size = 0; 
Note: See TracChangeset for help on using the changeset viewer.