This commit is contained in:
Frédéric FRANCE 2021-03-01 23:54:03 +01:00
parent f2cdbf6bb2
commit c54a61bb67
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1

View File

@ -187,14 +187,13 @@ if ($id > 0 || !empty($ref)) {
$permtoedit = $user->rights->banque->modifier;
$param = '&id='.$object->id.'&num='.urlencode($numref);
$moreparam = '&num='.urlencode($numref);
;
$relativepathwithnofile = $id."/statement/".dol_sanitizeFileName($numref)."/";
include_once DOL_DOCUMENT_ROOT.'/core/tpl/document_actions_post_headers.tpl.php';
} else {
dol_print_error($db);
}
} else {
Header('Location: index.php');
header('Location: index.php');
exit;
}