From 32a1301a9257d6f48d6f1be4dac4f3b4ef2f6234 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 8 Aug 2012 22:11:08 +0200 Subject: [PATCH] Fix: Use correct object --- htdocs/product/canvas/product/actions_card_product.class.php | 2 +- htdocs/product/canvas/service/actions_card_service.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product/canvas/product/actions_card_product.class.php b/htdocs/product/canvas/product/actions_card_product.class.php index 617e477c0fd..37b48c7be00 100755 --- a/htdocs/product/canvas/product/actions_card_product.class.php +++ b/htdocs/product/canvas/product/actions_card_product.class.php @@ -106,7 +106,7 @@ class ActionsCardProduct $this->tpl['description'] = nl2br($this->description); // Statut - $this->tpl['status'] = $this->getLibStatut(2); + $this->tpl['status'] = $this->object->getLibStatut(2); // Note $this->tpl['note'] = nl2br($this->note); diff --git a/htdocs/product/canvas/service/actions_card_service.class.php b/htdocs/product/canvas/service/actions_card_service.class.php index d665e175c27..3e27cd968dc 100755 --- a/htdocs/product/canvas/service/actions_card_service.class.php +++ b/htdocs/product/canvas/service/actions_card_service.class.php @@ -105,7 +105,7 @@ class ActionsCardService $this->tpl['description'] = nl2br($this->description); // Statut - $this->tpl['status'] = $this->getLibStatut(2); + $this->tpl['status'] = $this->object->getLibStatut(2); // Note $this->tpl['note'] = nl2br($this->note);