From bc57b0990dfef12b867244065d463d21dc3fd4e2 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 8 Jan 2019 17:59:19 +0100 Subject: [PATCH] by default jrn is an empty array --- include/class/acc_balance.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/class/acc_balance.class.php b/include/class/acc_balance.class.php index cdcd1755f..446b2ef8d 100644 --- a/include/class/acc_balance.class.php +++ b/include/class/acc_balance.class.php @@ -36,10 +36,10 @@ class Acc_Balance function __construct($p_cn) { $this->db=$p_cn; - $this->jrn=null; + $this->jrn=array(); $from_poste=""; $to_poste=""; - $unsold=false; + $unsold=false; }