Use GETPOST

This commit is contained in:
Laurent Destailleur 2015-10-11 20:41:06 +02:00
parent 75b7815d08
commit 80bd563fde
3 changed files with 3 additions and 3 deletions

View File

@ -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';
}

View File

@ -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';
}

View File

@ -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';
}