Explorar o código

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

Tyler Akins %!s(int64=24) %!d(string=hai) anos
pai
achega
b335e8a8e2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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' &&