noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 03/35: Fix small bug : PHP Notice: Undefined


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 03/35: Fix small bug : PHP Notice: Undefined property: Acc_Tva::$tva_both_side
Date: Tue, 24 May 2016 21:25:38 +0000 (UTC)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 2094e3426b421bc9f2edf2e7f5968c4e369112c1
Author: Dany De Bontridder <address@hidden>
Date:   Sat Mar 26 21:38:04 2016 +0100

    Fix small bug : PHP Notice:  Undefined property: Acc_Tva::$tva_both_side
---
 include/class/class_acc_tva.php |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/class/class_acc_tva.php b/include/class/class_acc_tva.php
index 801daac..9eca8d6 100644
--- a/include/class/class_acc_tva.php
+++ b/include/class/class_acc_tva.php
@@ -50,6 +50,11 @@ class Acc_Tva
         $this->cn=$p_init;
         $this->tva_id=$p_tva_id;
         $this->poste="";
+        $this->tva_label=null;
+        $this->tva_rate=0;
+        $this->tva_comment=null;
+        $this->tva_poste=null;
+        $this->tva_both_side='f';
     }
     public function get_parameter($p_string)
     {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]