From da2ec9ae8378b9a97090cfa67b8c7520d9b6a778 Mon Sep 17 00:00:00 2001 From: Jyhere Date: Tue, 25 Feb 2025 15:15:49 +0100 Subject: [PATCH] FIX: removeAll type error in actions_sendmails.inc.php --- htdocs/core/actions_sendmails.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/actions_sendmails.inc.php b/htdocs/core/actions_sendmails.inc.php index fb60b067456..f6915ed7927 100644 --- a/htdocs/core/actions_sendmails.inc.php +++ b/htdocs/core/actions_sendmails.inc.php @@ -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();