[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 04/107: Php7.2 incompatibility
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 04/107: Php7.2 incompatibility |
Date: |
Mon, 26 Aug 2019 10:31:45 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 204b2aef7413e9a3199017e7b595ba367e32321f
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 15bd2e6..4a68b0b 100644
--- a/include/class/acc_ledger_history_generic.class.php
+++ b/include/class/acc_ledger_history_generic.class.php
@@ -516,7 +516,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;
@@ -633,8 +633,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] branch master updated (513424f -> a68b6a8), Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 02/107: Fix bug with payment method, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 07/107: mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit Replace strip_tags , add a space before the "<", Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 08/107: Mantis #1693: CA - problème avec la balance croisée double, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 11/107: Security : replace $_GET by Http_Input + translate, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 13/107: Icon_Action : add icon for menu, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 16/107: Icon_Action add icon for locking , unlocking, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 24/107: Debug : Add memory info, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 18/107: Mantis #0001651: Problème avec totaux en CA, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 09/107: translation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 04/107: Php7.2 incompatibility,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 10/107: Security : replace $_GET by Http_Input, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 06/107: TEST : fix some little bugs, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 14/107: Accounting : Cosmetic change icon more by arrow, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 17/107: Mantis #0001651: Problème avec totaux en CA, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 12/107: Code cleaning replace $start and $end by $periode_...>value to avoid to get it several times, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 23/107: Bug javascript mispelled function show_tab, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 21/107: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss into dev7016, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 15/107: Icon_Action : add testing + cosmetic for Icon_Action::menu, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 22/107: typo, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 26/107: Code Cleaning : replace tempname with sys_get_temp_dir Merge commit 'd85d6f8c77083fb997441a672d222bb10836af3e' into dev7109, Dany De Bontridder, 2019/08/26