From 2fe6b4ecfcd2675a934975b2577ccfef4274991a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 19 Sep 2022 21:13:57 +0200 Subject: [PATCH] NEW Can join several files by default on email form --- htdocs/core/class/html.formmail.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php index 83d3af6d9db..ff6147977f3 100644 --- a/htdocs/core/class/html.formmail.class.php +++ b/htdocs/core/class/html.formmail.class.php @@ -831,7 +831,7 @@ class FormMail extends Form $out .= ''; // MAX_FILE_SIZE must precede the field type=file } // Can add other files - if (!empty($conf->global->FROM_MAIL_USE_INPUT_FILE_MULTIPLE)) { + if (empty($conf->global->FROM_MAIL_DONT_USE_INPUT_FILE_MULTIPLE)) { $out .= ''; } else { $out .= '';