[-] MO : #PSCFV-2437 : Shop ID configuration changed
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15729 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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