[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/01: PHP 7.2 : fix incomptability
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/01: PHP 7.2 : fix incomptability |
Date: |
Fri, 9 Nov 2018 11:55:09 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 25be6b6669954544c706088521d5b5757f710e71
Author: Dany De Bontridder <address@hidden>
Date: Fri Nov 9 17:54:26 2018 +0100
PHP 7.2 : fix incomptability
---
include/balance.inc.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/balance.inc.php b/include/balance.inc.php
index ecca2ba..f2d8ae6 100644
--- a/include/balance.inc.php
+++ b/include/balance.inc.php
@@ -102,8 +102,8 @@ echo _('Filtre')." ";
$rad=new IRadio();
$array_ledger=$g_user->get_ledger('ALL',3);
$array=get_array_column($array_ledger,'jrn_def_id');
-$selected=(isset($_GET['r_jrn']))?$_GET['r_jrn']:null;
-$select_cat=(isset($_GET['r_cat']))?$_GET['r_cat']:null;
+$selected=(isset($_GET['r_jrn']))?$_GET['r_jrn']:array();
+$select_cat=(isset($_GET['r_cat']))?$_GET['r_cat']:array();
$array_cat=Acc_Ledger::array_cat();
echo '<ul style="list-style-type:none">';