From 33f996a0394dd41239a9af708073a6638fa1c3a2 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 5 Sep 2010 13:38:34 +0000 Subject: [PATCH] Works on canvas integration in third party module --- htdocs/societe/canvas/card.common.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/societe/canvas/card.common.class.php b/htdocs/societe/canvas/card.common.class.php index caeb3266c1e..1402795d3c8 100644 --- a/htdocs/societe/canvas/card.common.class.php +++ b/htdocs/societe/canvas/card.common.class.php @@ -535,7 +535,7 @@ class CardCommon } $oldsoccanvas = new Canvas($this->db); - $oldsoccanvas->getCanvas('card',$this->canvas); + $oldsoccanvas->getCanvas('thirparty','card',$this->canvas); $result=$oldsoccanvas->fetch($socid); // To not set code if third party is not concerned. But if it had values, we keep them.