// Improve multishop_context in AdminController and rename shop->getListOfID() by Shop::getContextListShopID()
This commit is contained in:
1 parent
e689b06f2c
commit
20f2f2de7d
14 files changed
+59
-44
No files matched your search
@@ -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