// Update Accounting and fix undefined var

This commit is contained in:
vSchoener
2011-11-23 19:13:44 +00:00
parent 4806214e84
commit 0b67119cab
@@ -2183,6 +2183,7 @@ class AdminProductsControllerCore extends AdminController
{
$error = '';
$token = Tools::getValue('token') ? Tools::getValue('token') : $this->token;
$detail = array();
if (count($this->context->shop->getListOfID()) > 1)
$error = $this->l('Please select the shop you want to configure');
@@ -2190,7 +2191,6 @@ class AdminProductsControllerCore extends AdminController
{
$zones = Zone::getZones();
$id_shop = $this->context->shop->getID();
$detail = array();
// Set default zone value to the shop and sort it
foreach($zones as $zone)