stekkel 23 سال پیش
والد
کامیت
9193f48d34
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      functions/mime.php

+ 1 - 1
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,')');