Typo Rollback
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 13 Mar 2002 09:16:17 +0000 (09:16 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 13 Mar 2002 09:16:17 +0000 (09:16 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2574 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index 42c6942..194f82f 100644 (file)
@@ -1200,7 +1200,7 @@ function isNoSep( $char ) {
 
 function stripComments( &$i, $j, &$body ) {
 
-    while ( $body{$i}.$body{$i+1} == '<!' &&
+    while ( $body{$i}.$body{$i+1}.$body{$i+2}.$body{$i+3} == '<!--' &&
            $i < $j ) {
         $i += 5;
         while ( $body{$i-2}.$body{$i-1}.$body{$i} <> '-->' &&