Changeset 1480e2f in github


Ignore:
Timestamp:
Oct 2, 2009 3:22:33 AM (4 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
ee3c580
Parents:
7d1db8c
Message:
  • fix corrupted attachments on forward (#1486193)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/lib/imap.inc

    rbdab2c5 r1480e2f  
    22712271                                        else 
    22722272                                                $prev = ''; 
    2273  
     2273                                                 
    22742274                                        if ($file) 
    22752275                                                fwrite($file, base64_decode($line)); 
     
    23072307                        } 
    23082308                } 
    2309  
    23102309                // read in anything up until last line 
    23112310                if (!$end) 
     
    23152314 
    23162315                if ($result) { 
    2317                         $result = rtrim($result, "\t\r\n\0\x0B"); 
    23182316                        if ($file) { 
    23192317                                fwrite($file, $result); 
     
    23212319                                echo $result; 
    23222320                        } else 
    2323                                 return $result; // substr($result, 0, strlen($result)-1); 
     2321                                return $result; 
    23242322 
    23252323                        return true; 
    23262324                } 
    23272325        } 
    2328      
     2326 
    23292327        return false; 
    23302328} 
Note: See TracChangeset for help on using the changeset viewer.