We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdc62e6 commit 99f27bcCopy full SHA for 99f27bc
app/code/Magento/Cms/Model/BlockRepository.php
@@ -133,7 +133,6 @@ public function save(Data\BlockInterface $block)
133
public function getById($blockId)
134
{
135
$block = $this->blockFactory->create();
136
- $block->setStoreId($this->storeManager->getStore()->getId());
137
$this->resource->load($block, $blockId);
138
if (!$block->getId()) {
139
throw new NoSuchEntityException(__('The CMS block with the "%1" ID doesn\'t exist.', $blockId));
0 commit comments