projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
If loop exit is caused by $i being greater than or equal to $cnt, do try to append...
[squirrelmail.git]
/
class
/
mime
/
Rfc822Header.class.php
diff --git
a/class/mime/Rfc822Header.class.php
b/class/mime/Rfc822Header.class.php
index fa821bf9acbb0a4eb9b914459de00d0eaf878394..d2b2ff1a50703d005107e2ae228da5ca6b65314d 100644
(file)
--- a/
class/mime/Rfc822Header.class.php
+++ b/
class/mime/Rfc822Header.class.php
@@
-179,7
+179,9
@@
class Rfc822Header {
}
$result .= $value{$i};
}
- $result .= $value{$i};
+ if($i < $cnt) {
+ $result .= $value{$i};
+ }
break;
case '(':
$depth = 1;
@@
-938,4
+940,4
@@
class Rfc822Header {
}
}
-?>
\ No newline at end of file
+?>