FIX: removeAll type error in actions_sendmails.inc.php

This commit is contained in:
Jyhere 2025-02-25 15:15:49 +01:00 committed by GitHub
parent fbac78e6f8
commit da2ec9ae83
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();