瀏覽代碼

* Hopefully fixed the "no text part" bug -- # 417504

Tyler Akins 24 年之前
父節點
當前提交
b335e8a8e2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions/mime.php

+ 1 - 1
functions/mime.php

@@ -484,7 +484,7 @@
       global $show_html_default;
       
       if (! $message)
-	return;
+	return 0;
 
       // Show text/plain or text/html -- the first one we find.
       if ($message->header->type0 == 'text' &&