From b7d4a0d39ca495ba4f54a51c5397443cdd7632b4 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 5 Jan 2007 11:47:41 +0000 Subject: [PATCH] suppression des lignes de tests --- htdocs/product.class.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/htdocs/product.class.php b/htdocs/product.class.php index c65c4362633..2c9de12048f 100644 --- a/htdocs/product.class.php +++ b/htdocs/product.class.php @@ -150,7 +150,6 @@ class Product if ($this->tva_tx=='') $this->tva_tx = 0; if ($this->price=='') $this->price = 0; if ($this->status=='') $this->status = 0; - //$this->price = price2num($this->price); if (strlen(trim($this->price)) > 0 ) { @@ -190,9 +189,6 @@ class Product if ($this->ref) $sql.= "'".$this->ref."', "; $sql.= $user->id.", ".$this->type.", '" . price2num($price) . "', '".$price_ttc."', '" . $this->price_base_type . "','".$this->canvas."')"; $result = $this->db->query($sql); - print 'HT '.$price.'
'; - print 'TTC '.$price_ttc.'
'; - print $sql; if ( $result ) { $id = $this->db->last_insert_id(MAIN_DB_PREFIX."product");