FIX #37323 Accountancy closure page - Problem with GETPOSTINT cannot read checkbox values properly (#37325)
This commit is contained in:
parent
6b228411de
commit
f85c6d6495
1 changed files with 2 additions and 2 deletions
|
|
@ -156,8 +156,8 @@ if (empty($reshook)) {
|
|||
}
|
||||
} elseif ($action == 'confirm_step_2' && $confirm == "yes" && $user->hasRight('accounting', 'fiscalyear', 'write')) {
|
||||
$new_fiscal_period_id = GETPOSTINT('new_fiscal_period_id');
|
||||
$separate_auxiliary_account = GETPOSTINT('separate_auxiliary_account');
|
||||
$generate_bookkeeping_records = GETPOSTINT('generate_bookkeeping_records');
|
||||
$separate_auxiliary_account = (!empty(GETPOST('separate_auxiliary_account', 'none')) ? 1 : 0);
|
||||
$generate_bookkeeping_records = (!empty(GETPOST('generate_bookkeeping_records', 'none')) ? 1 : 0);
|
||||
|
||||
$error = 0;
|
||||
if ($generate_bookkeeping_records) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue