From ead50b42b38e393c2f25ac29042324ef32657939 Mon Sep 17 00:00:00 2001 From: stekkel Date: Tue, 16 Apr 2002 07:58:58 +0000 Subject: [PATCH] bugfix git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2730 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/mime.php b/functions/mime.php index c28ba03a..39839600 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -102,7 +102,7 @@ function mime_parse_structure ($structure, $ent_id) { $start = $end+1; $end = mime_match_parenthesis ($start, $structure); /* add "forgotten" parent entities (alternative and relative) */ - if (strpos($ent_id, '0') || strpos($ent_id) == 0) { + if (strpos($ent_id, '0') || strpos($ent_id, '0') == 0) { $str = substr($structure, $end+1 ); $startprop = strrpos($str,'('); $endprop = strrpos($str,')'); -- 2.25.1