fix : invoid sql injection
This commit is contained in:
parent
54d67de538
commit
9996c1ca7a
@ -575,8 +575,8 @@ if ($action == 'delmouv') {
|
|||||||
}
|
}
|
||||||
if ($action == 'delbookkeepingyear') {
|
if ($action == 'delbookkeepingyear') {
|
||||||
$form_question = array();
|
$form_question = array();
|
||||||
$delyear = GETPOST('delyear');
|
$delyear = GETPOST('delyear', 'int');
|
||||||
$deljournal = GETPOST('deljournal');
|
$deljournal = GETPOST('deljournal', 'alpha');
|
||||||
|
|
||||||
if (empty($delyear)) {
|
if (empty($delyear)) {
|
||||||
$delyear = dol_print_date(dol_now(), '%Y');
|
$delyear = dol_print_date(dol_now(), '%Y');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user