[-] MO : #PSCFV-2437 : Bug fix adding block using multishop

This commit is contained in:
Francois Gaillard
2012-05-29 07:51:42 +00:00
parent 45b47e0f8e
commit 9a62279202
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -559,7 +559,7 @@ class BlockCms extends Module
foreach ($this->context->controller->_languages as $language)
BlockCMSModel::insertCMSBlockLang($id_cms_block, $language['id_lang']);
BlockCMSModel::insertCMSBlockShop($id_cms_block, Shop::getContextShopGroupID(), Shop::getContextShopID());
BlockCMSModel::insertCMSBlockShop($id_cms_block, $this->context->shop->id_shop_group, $this->context->shop->id);
}
$this->_errors[] = $this->l('New block cannot be created !');