Skip to content

Commit

Permalink
PGTO-480: Fix request to match existing options
Browse files Browse the repository at this point in the history
  • Loading branch information
magentix committed Oct 24, 2024
1 parent 161ffd2 commit 376179b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Helper/Import/Option.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function matchEntity($pimKey, $entityTable, $entityKey, $import, $prefix
['a' => $this->getTable('eav_attribute')],
'o.`attribute_id` = a.`attribute_id` AND t.`attribute` = a.`attribute_code`',
[]
)->where('e.store_id = ?', 0)->where('a.entity_type_id', $entityTypeId);
)->where('e.store_id = ?', 0)->where('a.entity_type_id = ?', $entityTypeId);
/** @var string[] $existingMagentoOptions */
$existingMagentoOptions = $connection->query($select)->fetchAll();
/** @var string[] $existingMagentoOptionIds */
Expand Down

0 comments on commit 376179b

Please sign in to comment.