Просмотр исходного кода

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

Tyler Akins 24 лет назад
Родитель
Сommit
b335e8a8e2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      functions/mime.php

+ 1 - 1
functions/mime.php

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