From fe7c3bc2593c415e6c6696aca9b0edbd6f893190 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Tue, 7 Oct 2025 13:15:23 +0200 Subject: [PATCH] Fix Bug Sendmail_Core, do not set the format properly --- include/lib/sendmail_core.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lib/sendmail_core.class.php b/include/lib/sendmail_core.class.php index 502796240..74c6a0b03 100644 --- a/include/lib/sendmail_core.class.php +++ b/include/lib/sendmail_core.class.php @@ -60,7 +60,7 @@ class Sendmail_Core * @return Sendmail_Core */ public function set_format($format) { - if ( in_array($this->format,['PLAIN','HTML'] ) == false) { + if ( in_array($format,['PLAIN','HTML'] ) == false) { throw new \Exception('SC64 : unknow format '); } $this->format = $format;