Addressing comments, count to empty
Signed-off-by: Branko Kokanovic <branko@kokanovic.org>
This commit is contained in:
parent
72d97b44a7
commit
8101059062
|
@ -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 New Issue