[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 193/218: Php7.2 incompatibility
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 193/218: Php7.2 incompatibility |
Date: |
Thu, 12 Sep 2019 15:59:08 -0400 (EDT) |
sparkyx pushed a commit to branch entreprise
in repository noalyss.
commit f2be4c35afbc9bebecc5212756d4f58b38ad5880
Author: Dany De Bontridder <address@hidden>
Date: 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] 163/218: PHP 7.2 mistyped command, (continued)
- [Noalyss-commit] [noalyss] 163/218: PHP 7.2 mistyped command, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 153/218: Fix problem with total in balance export, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 174/218: Merge branch 'r700-currency' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 173/218: Mantis #0001682: CA - ajouter possibilité d'exporter le plan analytique, missing file, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 170/218: Merge branch 'r700-currency' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 172/218: Mantis #0001682: CA - ajouter possibilité d'exporter le plan analytique, add action CSV:Analytic_Axis, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 179/218: Mantis #1596: Dans le plan comptable, fiches non cliquables Les fiches sont cliquable dans Plan Comptable , PCMNCFG et dans la liste des postes, en plus on peut obtenir toutes les fiches d'un poste, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 191/218: Cosmetic adapt color, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 182/218: Bug : CARD misplace of "Search Card", Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 189/218: Fiche.clasS.php fix broken merge, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 193/218: Php7.2 incompatibility,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 197/218: translation, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 192/218: Mantis #0001618: Journaux - choix du type en premier, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 183/218: Fix bug from merge, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 195/218: mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit Replace strip_tags , add a space before the "<", Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 196/218: Mantis #1693: CA - problème avec la balance croisée double, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 206/218: Cosmetic, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 203/218: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 207/218: #0001736: PHP7 comptability, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 214/218: Bug : for customer without vat, there is not variable e_march_x_tva, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 218/218: Merge branch 'dev7109' into entreprise, Dany De Bontridder, 2019/09/12