From 9fb029890c56794f5ccbba3975e657470c329414 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 13 Apr 2014 02:08:57 +0200 Subject: [PATCH] Doxygen --- htdocs/product/class/product.class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index 931af52c44d..8f79339e98d 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -560,7 +560,7 @@ class Product extends CommonObject if (empty($this->localtax2_tx)) $this->localtax2_tx = 0; if (empty($this->status)) $this->status = 0; if (empty($this->status_buy)) $this->status_buy = 0; - + if (empty($this->country_id)) $this->country_id = 0; //Gencod @@ -1486,9 +1486,9 @@ class Product extends CommonObject // We should not load stock at each fetch. If someone need stock, he must call load_stock after fetch. //$res=$this->load_stock(); - //return $res; - // ok we don't load stock but we init the stock_warehouse array - $this->stock_warehouse = Array(); + + // instead we just init the stock_warehouse array + $this->stock_warehouse = array(); return 1; } @@ -3271,7 +3271,7 @@ class Product extends CommonObject function get_barcode($object,$type='') { global $conf; - + $result=''; if (! empty($conf->global->BARCODE_PRODUCT_ADDON_NUM)) {