[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 04/54: Php7.2 incompatibility
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 04/54: Php7.2 incompatibility |
Date: |
Sat, 11 Jul 2020 13:26:44 -0400 (EDT) |
sparkyx pushed a commit to annotated tag entreprise-0500
in repository noalyss.
commit f2be4c35afbc9bebecc5212756d4f58b38ad5880
Author: Dany De Bontridder <dany@alchimerys.be>
AuthorDate: Wed Feb 13 18:32:44 2019 +0100
Php7.2 incompatibility
---
include/class/acc_ledger_history_generic.class.php | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/class/acc_ledger_history_generic.class.php
b/include/class/acc_ledger_history_generic.class.php
index 5fd4e3c..98c2203 100644
--- a/include/class/acc_ledger_history_generic.class.php
+++ b/include/class/acc_ledger_history_generic.class.php
@@ -538,7 +538,7 @@ class Acc_Ledger_History_Generic extends Acc_Ledger_History
$array=array();
$Max=Database::num_row($Res);
if ($Max==0)
- return 0;
+ return array();
$case="";
$tot_deb=0;
$tot_cred=0;
@@ -655,8 +655,9 @@ class Acc_Ledger_History_Generic extends Acc_Ledger_History
$this->get_row();
echo '<TABLE class="result">';
-// detailled printing
-//---
+ // detailled printing
+ //---
+ if ( empty ($this->data)) return;
foreach ($this->data[0] as $op)
{
$class="";
- [Noalyss-commit] [noalyss] annotated tag entreprise-0500 created (now bed6fab), Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 01/54: translate, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 05/54: TEST : fix some little bugs, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 02/54: Cosmetic adapt color, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 03/54: Mantis #0001618: Journaux - choix du type en premier, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 04/54: Php7.2 incompatibility,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 06/54: mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit Replace strip_tags , add a space before the "<", Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 07/54: Mantis #1693: CA - problème avec la balance croisée double, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 08/54: translation, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 10/54: Merge with dev7109, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 12/54: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 09/54: Merge branch 'entreprise' of gitlab.noalyss.eu:noalyss/noalyss into entreprise, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 13/54: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 14/54: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 18/54: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 19/54: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2020/07/11