From 03fcc2f088c61e5bb5d6fba717aa7c61265f39ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 9 Oct 2018 20:31:14 +0200 Subject: [PATCH] Update paymentvarious.class.php --- htdocs/compta/bank/class/paymentvarious.class.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/compta/bank/class/paymentvarious.class.php b/htdocs/compta/bank/class/paymentvarious.class.php index 1878dd58f50..c997ff1a4f7 100644 --- a/htdocs/compta/bank/class/paymentvarious.class.php +++ b/htdocs/compta/bank/class/paymentvarious.class.php @@ -121,9 +121,9 @@ class PaymentVarious extends CommonObject $this->amount=trim($this->amount); $this->label=trim($this->label); $this->note=trim($this->note); - $this->fk_bank=(int)($this->fk_bank); - $this->fk_user_author=(int)($this->fk_user_author); - $this->fk_user_modif=(int)($this->fk_user_modif); + $this->fk_bank = (int) $this->fk_bank; + $this->fk_user_author = (int) $this->fk_user_author; + $this->fk_user_modif = (int) $this->fk_user_modif; $this->db->begin(); @@ -321,9 +321,9 @@ class PaymentVarious extends CommonObject $this->amount=price2num(trim($this->amount)); $this->label=trim($this->label); $this->note=trim($this->note); - $this->fk_bank=(int)($this->fk_bank); - $this->fk_user_author=(int)($this->fk_user_author); - $this->fk_user_modif=(int)($this->fk_user_modif); + $this->fk_bank = (int) $this->fk_bank; + $this->fk_user_author = (int) $this->fk_user_author; + $this->fk_user_modif = (int) $this->fk_user_modif; // Check parameters if (! $this->label)