diff options
Diffstat (limited to 'lib/private/Mail')
-rw-r--r-- | lib/private/Mail/Mailer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Mail/Mailer.php b/lib/private/Mail/Mailer.php index 2dad72b5b12..03ffcd9d603 100644 --- a/lib/private/Mail/Mailer.php +++ b/lib/private/Mail/Mailer.php @@ -260,7 +260,7 @@ class Mailer implements IMailer { $transport->setEncryption($smtpSecurity); } $streamingOptions = $this->config->getSystemValue('mail_smtpstreamoptions', array()); - if (is_array($streamingOptions) && count($streamingOptions) > 0) { + if (is_array($streamingOptions) && !empty($streamingOptions)) { $transport->setStreamOptions($streamingOptions); } |