Pārlūkot izejas kodu

This fixes SquirrelMail's inability to download large attachments. You
still may need to tweak PHP's .ini file, but that isn't something that can
be done in SM.

Tyler Akins 24 gadi atpakaļ
vecāks
revīzija
a94a2f4c6f
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      functions/mime.php

+ 1 - 2
functions/mime.php

@@ -366,8 +366,7 @@
       $topline = array_shift($data);
       while (! ereg('\* [0-9]+ FETCH ', $topline) && data)
           $topline = array_shift($data);
-      while ($data)
-          $wholemessage .= array_shift($data);
+      $wholemessage = implode('', $data);
 
       if (ereg('\{([^\}]*)\}', $topline, $regs)) {
          return substr($wholemessage, 0, $regs[1]);