Skip to content

Commit

Permalink
// Fix AdminProduct tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
rGaillard committed Jan 26, 2012
1 parent 126ea02 commit 4bbc253
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions controllers/admin/AdminProductsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1838,10 +1838,9 @@ public function initContent($token = null)
'id' => $product_tab,
'selected' => (strtolower($product_tab) == strtolower($this->tab_display)),
'name' => $this->available_tabs_lang[$product_tab],
'href' => $this->context->link->getAdminLink('AdminProducts').'&id_product='.(int)Tools::getValue('id_product').'&action='.(int)$product_tab,
'href' => $this->context->link->getAdminLink('AdminProducts').'&id_product='.(int)Tools::getValue('id_product').'&action='.$product_tab,
);
}

$this->tpl_form_vars['product_tabs'] = $product_tabs;
}
}
Expand Down

0 comments on commit 4bbc253

Please sign in to comment.