git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@235
7612ce4b-ef26-0410-bec9-
ea0150e637f0
return $header;
}
+
/******************************************************************************
** Returns the body of a message.
******************************************************************************/
$i = 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];
$j++;
}