diff --git a/htdocs/compta/tva/class/paymentvat.class.php b/htdocs/compta/tva/class/paymentvat.class.php index 35178dbc0ee..49df8bccb12 100644 --- a/htdocs/compta/tva/class/paymentvat.class.php +++ b/htdocs/compta/tva/class/paymentvat.class.php @@ -480,7 +480,7 @@ class PaymentVAT extends CommonObject { $this->id = 0; - $this->fk_tva = ''; + $this->fk_tva = 0; $this->datec = ''; $this->tms = ''; $this->datep = ''; @@ -489,9 +489,9 @@ class PaymentVAT extends CommonObject $this->num_payment = ''; $this->note_private = ''; $this->note_public = ''; - $this->fk_bank = ''; - $this->fk_user_creat = ''; - $this->fk_user_modif = ''; + $this->fk_bank = 0; + $this->fk_user_creat = 0; + $this->fk_user_modif = 0; }