// Remove $display_multishop_toolbar and add instead $multishop_context to manage shop context per admin controller
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13530 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -38,7 +38,6 @@ class AdminStockInstantStateControllerCore extends AdminController
|
||||
$this->table = 'stock';
|
||||
$this->className = 'Stock';
|
||||
$this->lang = false;
|
||||
$this->display_multishop_toolbar = false;
|
||||
|
||||
$this->fieldsDisplay = array(
|
||||
'reference' => array(
|
||||
@@ -103,6 +102,8 @@ class AdminStockInstantStateControllerCore extends AdminController
|
||||
array_unshift($this->stock_instant_state_warehouses, array('id_warehouse' => -1, 'name' => $this->l('All Warehouses')));
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->multishop_context = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user