[-] MO : #PSCFV-2437 : Shop ID configuration changed
This commit is contained in:
1 parent
9d6d853c19
commit
d1beb27002
3 files changed
+7
-6
No files matched your search
@@ -559,7 +559,10 @@ class BlockCms extends Module
|
||||
foreach ($this->context->controller->_languages as $language)
|
||||
BlockCMSModel::insertCMSBlockLang($id_cms_block, $language['id_lang']);
|
||||
|
||||
BlockCMSModel::insertCMSBlockShop($id_cms_block, $this->context->shop->id_shop_group, $this->context->shop->id);
|
||||
$shops = Shop::getContextListShopID();
|
||||
|
||||
foreach ($shops as $shop)
|
||||
BlockCMSModel::insertCMSBlockShop($id_cms_block, $shop);
|
||||
}
|
||||
|
||||
$this->_errors[] = $this->l('New block cannot be created !');
|
||||
|
||||
Reference in new issue
Block a user