From bb822beb10c5e4ed501a0aca8b500301b9ff4bea Mon Sep 17 00:00:00 2001 From: stekkel Date: Fri, 16 Aug 2002 10:34:16 +0000 Subject: [PATCH] adapt to changed mime.class.php git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3319 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/mime.php b/functions/mime.php index d4ac2e73..72dc3cde 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -30,7 +30,8 @@ function mime_structure ($bodystructure, $flags=array()) { $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) { -- 2.25.1