bugfix
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 16 Apr 2002 07:58:58 +0000 (07:58 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 16 Apr 2002 07:58:58 +0000 (07:58 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2730 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index c28ba03ac28919e12e155d5180a6e30e62946327..39839600442eeb60c934e96922e48c617b6c6e82 100644 (file)
@@ -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,')');