mirror of
https://github.com/PHPMailer/PHPMailer.git
synced 2024-09-20 18:03:04 +02:00
Update class.smtp.php
Set the value to 0 if the fields array is empty
This commit is contained in:
parent
9553002973
commit
1ec37ad4c2
@ -730,7 +730,7 @@ class SMTP
|
||||
} else {
|
||||
$name = array_shift($fields);
|
||||
if ($name == 'SIZE') {
|
||||
$fields = ($fields) ? $fields[0] : [];
|
||||
$fields = ($fields) ? $fields[0] : 0;
|
||||
}
|
||||
}
|
||||
$this->server_caps[$name] = ($fields ? $fields : true);
|
||||
|
Loading…
Reference in New Issue
Block a user