From 8ba1cf20a7a576fe25626165f6f52681a83636c2 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Mon, 22 Jul 2019 13:06:07 +0200 Subject: [PATCH] use config::bool instead of read_string --- functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.inc.php b/functions.inc.php index b6717267..56eacbd2 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -1399,7 +1399,7 @@ function smtp_mail($to, $from, $data, $password = "", $body = "") { } else { smtp_get_response($fh); - if (Config::read_string('smtp_sendmail_tls') === 'YES') { + if (Config::bool('smtp_sendmail_tls')) { fputs($fh, "STARTTLS\r\n"); smtp_get_response($fh);