mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Addressing comments, count to empty
Signed-off-by: Branko Kokanovic <branko@kokanovic.org>
This commit is contained in:
parent
72d97b44a7
commit
8101059062
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue