From 81a996c7147f46459dbc48ce84aee13231bc5ab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Wed, 22 Jan 2025 12:42:37 +0100 Subject: [PATCH] Form 4.6 --- module/form/form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/form/form.php b/module/form/form.php index 20e9e16..1918d8a 100644 --- a/module/form/form.php +++ b/module/form/form.php @@ -479,7 +479,7 @@ class form extends common if (!empty($singlemail)) { $to[] = $singlemail; } - if (is_array($to)) { + if (empty($to)=== false) { // Sujet du mail $subject = $this->getData(['module', $this->getUrl(0), 'config', 'subject']); if ($subject === '') {