From 49074ffd79501c4686819b47117ee11803233131 Mon Sep 17 00:00:00 2001 From: Thiago Lima Date: Fri, 27 Oct 2017 10:25:03 +0200 Subject: [PATCH] #8236 FIX CMS blocks --- app/code/Magento/Cms/Model/ResourceModel/Block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Cms/Model/ResourceModel/Block.php b/app/code/Magento/Cms/Model/ResourceModel/Block.php index 1ea63241dbdee..e7761eb61b3d7 100644 --- a/app/code/Magento/Cms/Model/ResourceModel/Block.php +++ b/app/code/Magento/Cms/Model/ResourceModel/Block.php @@ -186,7 +186,7 @@ public function getIsUniqueBlockToStores(AbstractModel $object) if ($this->_storeManager->hasSingleStore()) { $stores = [Store::DEFAULT_STORE_ID]; } else { - $stores = (array)$object->getData('stores'); + $stores = (array)$object->getData('store_id'); } $select = $this->getConnection()->select()