Merge pull request #33224 from jyhere/patch-24

FIX: removeAll type error in actions_sendmails.inc.php
This commit is contained in:
Laurent Destailleur 2025-02-26 17:29:12 +01:00 committed by GitHub
commit 8c2eecd8aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,7 +69,7 @@ if (GETPOST('addfile', 'alpha')) {
/*
* Remove file in email form
*/
if (GETPOST('removedfile') && !GETPOST('removAll')) {
if (GETPOST('removedfile') && !GETPOST('removeAll')) {
$trackid = GETPOST('trackid', 'aZ09');
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
@ -87,7 +87,7 @@ if (GETPOST('removedfile') && !GETPOST('removAll')) {
/*
* Remove all files in email form
*/
if (GETPOST('removAll', 'alpha')) {
if (GETPOST('removeAll', 'alpha')) {
$trackid = GETPOST('trackid', 'aZ09');
$listofpaths = array();