Skip to content

Commit

Permalink
Merge branch 'bugfix/manufacturer-attriubte-processor-ids-bug' into r…
Browse files Browse the repository at this point in the history
…elease/3.0.1
  • Loading branch information
thijsMemoICT committed Aug 28, 2024
2 parents 078a78e + 20bd1e0 commit 9172af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Processor/Attribute/ManufacturerAttributeProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private function removeLegacyManufacturers(array $processedIds, Context $context
);
$criteria->addFilter(new EqualsFilter('type', self::MAPPING_TYPE));
$existingIds = $this->mappingExtensionRepository->searchIds($criteria, $context);
$existingIds = array_map(fn($id) => ['id' => $id], $existingIds);
$existingIds = array_map(fn($id) => ['id' => $id], $existingIds->getIds());
if (empty($existingIds)) {
return;
}
Expand Down

0 comments on commit 9172af3

Please sign in to comment.