// Improve multishop_context in AdminController and rename shop->getListOfID() by Shop::getContextListShopID()
This commit is contained in:
@@ -39,7 +39,7 @@ class AdminAccountingManagementControllerCore extends AdminController
|
||||
$shop = array();
|
||||
$error = '';
|
||||
|
||||
if (count($this->context->shop->getListOfID()) > 1)
|
||||
if (count(Shop::getContextListShopID()) > 1)
|
||||
$error = $this->l('Please select the shop you want to configure');
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user