git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3319
7612ce4b-ef26-0410-bec9-
ea0150e637f0
$read = trim(substr ($bodystructure, strpos(strtolower($bodystructure), 'bodystructure') + 13));
$msg = &new message();
$read = trim(substr ($read, 0, -1));
$read = trim(substr ($bodystructure, strpos(strtolower($bodystructure), 'bodystructure') + 13));
$msg = &new message();
$read = trim(substr ($read, 0, -1));
- $msg = $msg->parseStructure($read,0);
+ $res = $msg->parseStructure($read);
+ $msg = $res[0];
$msg->setEnt('0');
if (count($flags)) {
foreach ($flags as $flag) {
$msg->setEnt('0');
if (count($flags)) {
foreach ($flags as $flag) {