mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
fix can't delete pdf if ref is not encoded (#28630)
This commit is contained in:
@@ -4477,7 +4477,7 @@ if ($action == 'create') {
|
||||
$file = GETPOST('file', 'alpha');
|
||||
|
||||
$formconfirm = $form->formconfirm(
|
||||
$_SERVER["PHP_SELF"].'?facid='.$object->id.'&file='.$file,
|
||||
$_SERVER["PHP_SELF"].'?facid='.$object->id.'&file='.urlencode($file),
|
||||
$langs->trans('DeleteFileHeader'),
|
||||
$langs->trans('DeleteFileText')."<br><br>".$file,
|
||||
'remove_file',
|
||||
|
||||
Reference in New Issue
Block a user