// Update Accounting and fix undefined var
This commit is contained in:
1 parent
4806214e84
commit
0b67119cab
1 file changed
+1
-1
@@ -2183,6 +2183,7 @@ class AdminProductsControllerCore extends AdminController
|
|||||||
{
|
{
|
||||||
$error = '';
|
$error = '';
|
||||||
$token = Tools::getValue('token') ? Tools::getValue('token') : $this->token;
|
$token = Tools::getValue('token') ? Tools::getValue('token') : $this->token;
|
||||||
|
$detail = array();
|
||||||
|
|
||||||
if (count($this->context->shop->getListOfID()) > 1)
|
if (count($this->context->shop->getListOfID()) > 1)
|
||||||
$error = $this->l('Please select the shop you want to configure');
|
$error = $this->l('Please select the shop you want to configure');
|
||||||
@@ -2190,7 +2191,6 @@ class AdminProductsControllerCore extends AdminController
|
|||||||
{
|
{
|
||||||
$zones = Zone::getZones();
|
$zones = Zone::getZones();
|
||||||
$id_shop = $this->context->shop->getID();
|
$id_shop = $this->context->shop->getID();
|
||||||
$detail = array();
|
|
||||||
|
|
||||||
// Set default zone value to the shop and sort it
|
// Set default zone value to the shop and sort it
|
||||||
foreach($zones as $zone)
|
foreach($zones as $zone)
|
||||||
|
|||||||
Reference in new issue
Block a user