Skip to content

Commit

Permalink
Update mimeDecode.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dallaslu authored Aug 1, 2024
1 parent a85561f commit 64596c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/mimeDecode.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ function _decode($headers, $body, $default_ctype = 'text/plain')

$default_ctype = (strtolower($content_type['value']) === 'multipart/digest') ? 'message/rfc822' : 'text/plain';

$parts = $this->_boundarySplit($body, $content_type['other']['boundary'], strtolower($content_type['value']) === 'multipart/signed'));
$parts = $this->_boundarySplit($body, $content_type['other']['boundary'], strtolower($content_type['value']) === 'multipart/signed');
for ($i = 0; $i < count($parts); $i++) {
list($part_header, $part_body) = $this->_splitBodyHeader($parts[$i]);
$part = $this->_decode($part_header, $part_body, $default_ctype);
Expand Down

0 comments on commit 64596c7

Please sign in to comment.