noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 07/28: Acc_Ledger::id == 0 for Main Ledger


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 07/28: Acc_Ledger::id == 0 for Main Ledger
Date: Sat, 30 Nov 2019 07:51:22 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 362d3d31f16d3b69f5c1185d2fe3635fb6063ba2
Author: Dany De Bontridder <address@hidden>
Date:   Sun Nov 17 13:16:09 2019 +0100

    Acc_Ledger::id == 0 for Main Ledger
---
 include/class/acc_ledger.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class/acc_ledger.class.php 
b/include/class/acc_ledger.class.php
index 6c0351c..dabc16a 100644
--- a/include/class/acc_ledger.class.php
+++ b/include/class/acc_ledger.class.php
@@ -79,7 +79,7 @@ class Acc_Ledger extends jrn_def_sql
         $this->db=$p_cn;
         $this->row=null;
         $this->nb=MAX_ARTICLE;
-         parent::__construct($p_cn, $p_id);
+        if ($p_id <> 0 ) parent::__construct($p_cn, $p_id);
     }
 
     function get_last_pj()



reply via email to

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