// fix add new product

This commit is contained in:
mMarinetti committed 2011-10-20 15:47:51 +00:00
1 parent 0548815b61
commit bbfe2fe2e0
1 file changed
+1
@@ -1727,6 +1727,7 @@ if (false)
throw new Exception('object not loaded'); throw new Exception('object not loaded');
$smarty = $this->context->smarty; $smarty = $this->context->smarty;
$product_tabs = array(); $product_tabs = array();
if(Tools::getValue('id_product'))
foreach($this->available_tabs as $product_tab) foreach($this->available_tabs as $product_tab)
{ {
$product_tabs[$product_tab] = array( $product_tabs[$product_tab] = array(