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 === '') {