From 657db6cc47ecb09b36dca49d91dcbea210d192c0 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 2 Sep 2010 17:33:57 +0000 Subject: [PATCH] Works on canvas integration in third party module --- htdocs/societe/class/societe.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 3a1476308bd..f88f0c492dc 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -2408,7 +2408,7 @@ class Societe extends CommonObject $this->default_lang = $_POST["default_lang"]; $this->commercial_id = $_POST["commercial_id"]; - $this->tva_assuj = $_POST["assujtva_value"]; + $this->tva_assuj = $_POST["assujtva_value"]?$_POST["assujtva_value"]:1; $this->tva_intra = $_POST["tva_intra"]; //Local Taxes