Ignore:
Timestamp:
11/26/09 14:24:31 (14 years ago)
Author:
rafaelraymundo
Message:

Ticket #405 - Corrige problema com anexos extras ao encaminhar e-mail.

File:
1 edited

Legend:

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

    r1709 r1711  
    18591859                        $mail->Body = str_replace($cid_imgs[1][$j], "cid:".$cid, $mail->Body); 
    18601860 
    1861                                 if ($msg_uid != $cid_imgs[4][$j]) // The image isn't in the same mail? 
     1861                                if (!$forwarding_attachments[$cid_imgs[6][$j]-2]) // The image isn't in the same mail? 
    18621862                                { 
    18631863                                        $fileContent = $this->get_forwarding_attachment($cid_imgs[2][$j], $cid_imgs[4][$j], $cid_imgs[6][$j], 'base64'); 
     
    18741874                                                $file_description[$i]  = eregi_replace('\'*\'','',$descriptor); 
    18751875                                        } 
    1876                                         $fileContent = $this->get_forwarding_attachment($file_description[0], $msg_uid, $file_description[3], 'base64'); 
     1876                                        $fileContent = $this->get_forwarding_attachment($file_description[0], $cid_imgs[4][$j], $file_description[3], 'base64'); 
    18771877                                        $fileName = $file_description[2]; 
    18781878                                        $fileCode = $file_description[4]; 
Note: See TracChangeset for help on using the changeset viewer.