From f4df7a077869006d83eca74239259bc01a34ed2b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 1 Dec 2006 11:25:30 +0000 Subject: [PATCH] Ajout gestion du champs canvas dans fetch --- htdocs/product.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product.class.php b/htdocs/product.class.php index 377b8b5d3b0..8a57f185673 100644 --- a/htdocs/product.class.php +++ b/htdocs/product.class.php @@ -783,7 +783,7 @@ class Product } $sql = "SELECT rowid, ref, label, description, note, price, tva_tx, envente,"; - $sql.= " nbvente, fk_product_type, duration, seuil_stock_alerte"; + $sql.= " nbvente, fk_product_type, duration, seuil_stock_alerte,canvas"; $sql.= " FROM ".MAIN_DB_PREFIX."product"; if ($id) $sql.= " WHERE rowid = '".$id."'"; if ($ref) $sql.= " WHERE ref = '".addslashes($ref)."'"; @@ -807,7 +807,7 @@ class Product $this->duration_value = substr($result["duration"],0,strlen($result["duration"])-1); $this->duration_unit = substr($result["duration"],-1); $this->seuil_stock_alerte = $result["seuil_stock_alerte"]; - + $this->canvas = $result["canvas"]; $this->label_url = ''.$this->libelle.''; if ($this->type == 0)