From 6ea60012450d89c1bb605a6db4a2bdcb53a974a4 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 29 Sep 2020 23:34:37 +0200 Subject: [PATCH] Bug : cannot duplicate ACH --- include/compta_ach.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/compta_ach.inc.php b/include/compta_ach.inc.php index 2059cf74c..d02c09736 100644 --- a/include/compta_ach.inc.php +++ b/include/compta_ach.inc.php @@ -240,7 +240,7 @@ else $Ledger->id = $request_jrn; if (isset ($_REQUEST['p_jrn_predef'])){ - $Ledger->id=$_REQUEST['p_jrn_predef']; + $Ledger->id=$http->request('p_jrn_predef'); } // pre defined operation // @@ -259,6 +259,7 @@ try $acompte=$http->request("acompte", "string",0); echo "
"; + echo HtmlInput::hidden("ac", $ac); /* request for a predefined operation */ if (isset($_REQUEST['pre_def'])&&!isset($_POST['correct']) && ! isset($correct) ) {