Functions now pass message body by reference to save on memory.
[squirrelmail.git] / functions / mime.php
index 652b5b90366868b195691422c91b3572c6af77a9..ff5bf65baae0d6ec67251461ee4c9ec61027c258 100644 (file)
          // If there are other types that shouldn't be formatted, add
          // them here 
          if ($message->header->type1 != "html") {   
-            $body = translateText($body, $wrap_at, $body_message->header->charset);
+            translateText($body, $wrap_at, $body_message->header->charset);
          }   
    
          $body .= "<SMALL><CENTER><A HREF=\"../src/download.php?absolute_dl=true&passed_id=$id&passed_ent_id=$ent_num&mailbox=$urlmailbox\">". _("Download this as a file") ."</A></CENTER><BR></SMALL>";