mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Use GETPOST
This commit is contained in:
parent
75b7815d08
commit
80bd563fde
|
|
@ -56,7 +56,7 @@ if (! empty($_POST['removedfile']) && empty($_POST['removAll']))
|
|||
$upload_dir_tmp = $vardir.'/temp';
|
||||
|
||||
// TODO Delete only files that was uploaded from email form
|
||||
dol_remove_file_process($_POST['removedfile'],0);
|
||||
dol_remove_file_process(GETPOST('removedfile','alpha'),0);
|
||||
$action='presend';
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1083,7 +1083,7 @@ if (empty($reshook))
|
|||
$upload_dir_tmp = $vardir.'/temp';
|
||||
|
||||
// TODO Delete only files that was uploaded from email form
|
||||
dol_remove_file_process($_POST['removedfile'],0);
|
||||
dol_remove_file_process(GETPOST('removedfile','alpha'),0);
|
||||
$action='presend';
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -917,7 +917,7 @@ if (empty($reshook))
|
|||
$upload_dir_tmp = $vardir.'/temp';
|
||||
|
||||
// TODO Delete only files that was uploaded from email form
|
||||
dol_remove_file_process($_POST['removedfile'],0);
|
||||
dol_remove_file_process(GETPOST('removedfile','alpha'),0);
|
||||
$action='presend';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user