From c2a3ea6f12968a63347654ea6fb12c8ec889bbb6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 27 Feb 2026 14:29:35 +0100 Subject: [PATCH] Fix regression --- htdocs/accountancy/closure/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/accountancy/closure/index.php b/htdocs/accountancy/closure/index.php index 5c516b0819a..beed14cfb07 100644 --- a/htdocs/accountancy/closure/index.php +++ b/htdocs/accountancy/closure/index.php @@ -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 = (!empty(GETPOST('separate_auxiliary_account', 'none')) ? 1 : 0); - $generate_bookkeeping_records = (!empty(GETPOST('generate_bookkeeping_records', 'none')) ? 1 : 0); + $separate_auxiliary_account = (!empty(GETPOST('separate_auxiliary_account')) ? 1 : 0); + $generate_bookkeeping_records = (!empty(GETPOST('generate_bookkeeping_records')) ? 1 : 0); $error = 0; if ($generate_bookkeeping_records) {