fixed php 7.2 count error
This commit is contained in:
parent
aeb8dda647
commit
22e187271f
@ -311,7 +311,7 @@ class Mail_mimePart
|
|||||||
{
|
{
|
||||||
$encoded =& $this->encoded;
|
$encoded =& $this->encoded;
|
||||||
|
|
||||||
if (count($this->subparts)) {
|
if ($this->subparts && count($this->subparts)) {
|
||||||
$boundary = $boundary ? $boundary : '=_' . md5(rand() . microtime());
|
$boundary = $boundary ? $boundary : '=_' . md5(rand() . microtime());
|
||||||
$eol = $this->eol;
|
$eol = $this->eol;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user