From 6c53a55d731f931c3dde6838d0d301b276dea999 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 20 Dec 2006 20:43:07 +0000 Subject: [PATCH] Synchro --- .../product/canvas/product.livrecouverture.class.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/htdocs/product/canvas/product.livrecouverture.class.php b/htdocs/product/canvas/product.livrecouverture.class.php index f3971983183..b582660efba 100644 --- a/htdocs/product/canvas/product.livrecouverture.class.php +++ b/htdocs/product/canvas/product.livrecouverture.class.php @@ -56,14 +56,12 @@ class ProductLivreCouverture extends Product * \brief Creation * \param id Id livre */ - function CreateCanvas($user,$datas) + function Create($user,$datas) { $this->db->begin(); - - $id = $this->create($user); + $id = parent::Create($user); return $this->id; - } /** * \brief Supression @@ -81,11 +79,6 @@ class ProductLivreCouverture extends Product function FetchCanvas($id='', $ref='') { $result = $this->fetch($id,$ref); - - // On charge le livre pour avoir le titre - // ne pas utiliser FetchCanvas qui cree une boucle infinie - $this->livre = new ProductLivre($this->db); - //$this->livre->Fetch($result["fk_cnv_livre"]); return $result; }