[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 10/12: Bug : when ledger not found
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 10/12: Bug : when ledger not found |
Date: |
Sun, 8 Nov 2020 15:52:16 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 6d6c6a438e827a5e6072395c1304ca8d0eca3ed6
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Nov 7 19:22:08 2020 +0100
Bug : when ledger not found
---
include/class/acc_account_ledger.class.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/class/acc_account_ledger.class.php
b/include/class/acc_account_ledger.class.php
index 18c58e1..40a164e 100644
--- a/include/class/acc_account_ledger.class.php
+++ b/include/class/acc_account_ledger.class.php
@@ -655,7 +655,7 @@ class Acc_Account_Ledger
{
$l=new Acc_Ledger($this->db,$p_jrn);
$row=$l->get_propertie();
- if ( strlen(trim($row['jrn_def_class_deb'])) == 0 ) return array();
+ if ( $row == null || strlen(trim($row['jrn_def_class_deb'])) == 0 )
return array();
$valid_account=explode(" ",$row['jrn_def_class_deb']);
return $valid_account;
}
- [Noalyss-commit] [noalyss] branch master updated (67dc4a8 -> 9d5d626), Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 02/12: Cosmetic : install structure input, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 01/12: Cosmetic : follow up, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 03/12: Cosmetic, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 04/12: Bug : incompatibilty with php 7.4, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 05/12: ergonomy : add waiting box, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 06/12: Bug : follow up mixed description and comment, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 09/12: Print Accounting : export pdf does not work, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 10/12: Bug : when ledger not found,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 07/12: task #0001861: Plage de cases à cocher , search action, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 08/12: Remove direct access _GET, Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 12/12: Bug : follow-up , add a new security against the duplicate for Follo_Up reference (ag_ref), Dany De Bontridder, 2020/11/08
- [Noalyss-commit] [noalyss] 11/12: Improve Test, Dany De Bontridder, 2020/11/08