Procházet zdrojové kódy

fixed problems with viewing messages ending with a )

Luke Ehresman před 25 roky
rodič
revize
d5c3b8a6f9
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 3 2
      functions/imap_messages.php

+ 3 - 2
functions/imap_messages.php

@@ -267,6 +267,7 @@
       return $header;
       return $header;
    }
    }
 
 
+
    /******************************************************************************
    /******************************************************************************
     **  Returns the body of a message.
     **  Returns the body of a message.
     ******************************************************************************/
     ******************************************************************************/
@@ -276,8 +277,8 @@
        
        
       $i = 0;
       $i = 0;
       $j = 0;
       $j = 0;
-      while ($i < count($read)) {
-         if ( ($i != 0) && ($i != count($read)-1) && ($i != count($read)) ) {
+      while ($i < count($read)-1) {
+         if ( ($i != 0) ) {
             $bodytmp[$j] = $read[$i];
             $bodytmp[$j] = $read[$i];
             $j++;
             $j++;
          }
          }