From: Marc G. K. <st...@us...> - 2002-08-16 10:34:19
|
Update of /cvsroot/squirrelmail/squirrelmail/functions In directory usw-pr-cvs1:/tmp/cvs-serv28691 Modified Files: mime.php Log Message: adapt to changed mime.class.php Index: mime.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/functions/mime.php,v retrieving revision 1.213 retrieving revision 1.214 diff -u -w -r1.213 -r1.214 --- mime.php 15 Aug 2002 19:48:17 -0000 1.213 +++ mime.php 16 Aug 2002 10:34:16 -0000 1.214 @@ -30,7 +30,8 @@ $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) { |