mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 23:56:58 +02:00
Bbcode code optimization and test.
This commit is contained in:
@@ -176,7 +176,7 @@ class receiveMail
|
||||
{
|
||||
$body = $this->get_part($this->marubox, $mid, "TEXT/HTML");
|
||||
}
|
||||
if (($body == "") || $mode == 'plain')
|
||||
if (empty($body) || $mode == 'plain')
|
||||
$body = $this->get_part($this->marubox, $mid, "TEXT/PLAIN");
|
||||
if ($body == "") {
|
||||
return "";
|
||||
|
Reference in New Issue
Block a user