noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 42/119: Bug : cannot duplicate ACH


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 42/119: Bug : cannot duplicate ACH
Date: Mon, 26 Oct 2020 18:27:14 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 6ea60012450d89c1bb605a6db4a2bdcb53a974a4
Author: Dany De Bontridder <danydb@noalyss.eu>
AuthorDate: Tue Sep 29 23:34:37 2020 +0200

    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 2059cf7..d02c097 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 "<FORM class=\"print\"NAME=\"form_detail\" METHOD=\"POST\" >";
+    echo HtmlInput::hidden("ac", $ac);
     /* request for a predefined operation */
     if (isset($_REQUEST['pre_def'])&&!isset($_POST['correct']) && ! 
isset($correct) )
     {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]