[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()
- [Noalyss-commit] [noalyss] branch master updated (b23f4d4 -> a720b86), Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 01/28: TEST : bug double usage of use, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 04/28: Task #0001762: TVA France Erreur dans script SQL, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 07/28: Acc_Ledger::id == 0 for Main Ledger,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 09/28: remove Obsolete, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 05/28: rename test files:, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 11/28: In Acc_Ledger, the type shouldn't be overrided , create new attr ledger_type, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 19/28: Data_SQL Function prefix turn an object to an array but key can have a prefix, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 06/28: PDFTK Convert in PDF if working from home, see http://wiki.noalyss.eu/doku.php?id=menu:ancgl, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 14/28: Bug PHP : confuse NULL and 0, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 13/28: cosmetid add a button close for the "forget-email-box", Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 15/28: Bug Array to string conversion error, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 16/28: Bug : when e_march is null it is considered as an empty string instead of 0, Dany De Bontridder, 2019/11/30
- [Noalyss-commit] [noalyss] 17/28: Cosmetic, Dany De Bontridder, 2019/11/30