Skip to content

Commit

Permalink
Merge pull request #27 from maxnoto/master
Browse files Browse the repository at this point in the history
Fixes #26
  • Loading branch information
giacmir authored Feb 28, 2023
2 parents 3847872 + 0f53240 commit 77fe6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Content.php
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ public function importBlockFromArray(array $blockData): bool

$blockId = 0;
foreach ($collection as $item) {
$storesIntersect = array_intersect($item->getStoreId(), $storeIds);
$storesIntersect = array_intersect((array)$item->getStoreId(), (array)$storeIds);

// @codingStandardsIgnoreStart
if (count($storesIntersect)) {
Expand Down

0 comments on commit 77fe6e9

Please sign in to comment.