From 139c03521a849545dfe008a6f97c622402b14722 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 6b1fc0180..88cab99b5 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;