// fix in migrate block info to cms block
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12533 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
b81429abca
commit
af0ff35db8
1 file changed
+1
-1
@@ -35,7 +35,7 @@ function migrate_block_info_to_cms_block()
|
|||||||
//get ids cms of block information
|
//get ids cms of block information
|
||||||
$ids_cms = Db::getInstance()->executeS('SELECT id_cms FROM `'._DB_PREFIX_.'block_cms` WHERE `id_block` = '.(int)$id_blockinfos);
|
$ids_cms = Db::getInstance()->executeS('SELECT id_cms FROM `'._DB_PREFIX_.'block_cms` WHERE `id_block` = '.(int)$id_blockinfos);
|
||||||
//check if block info is installed and active
|
//check if block info is installed and active
|
||||||
if (sizeof($ids_cms))
|
if (is_array($ids_cms))
|
||||||
{
|
{
|
||||||
//install module blockcms
|
//install module blockcms
|
||||||
// Module::getInstanceByName('blockcms')->install()
|
// Module::getInstanceByName('blockcms')->install()
|
||||||
|
|||||||
Reference in new issue
Block a user