fix
This commit is contained in:
parent
f2cdbf6bb2
commit
c54a61bb67
@ -187,14 +187,13 @@ if ($id > 0 || !empty($ref)) {
|
|||||||
$permtoedit = $user->rights->banque->modifier;
|
$permtoedit = $user->rights->banque->modifier;
|
||||||
$param = '&id='.$object->id.'&num='.urlencode($numref);
|
$param = '&id='.$object->id.'&num='.urlencode($numref);
|
||||||
$moreparam = '&num='.urlencode($numref);
|
$moreparam = '&num='.urlencode($numref);
|
||||||
;
|
|
||||||
$relativepathwithnofile = $id."/statement/".dol_sanitizeFileName($numref)."/";
|
$relativepathwithnofile = $id."/statement/".dol_sanitizeFileName($numref)."/";
|
||||||
include_once DOL_DOCUMENT_ROOT.'/core/tpl/document_actions_post_headers.tpl.php';
|
include_once DOL_DOCUMENT_ROOT.'/core/tpl/document_actions_post_headers.tpl.php';
|
||||||
} else {
|
} else {
|
||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Header('Location: index.php');
|
header('Location: index.php');
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user