Skip to content

Commit

Permalink
fix: Product Converter
Browse files Browse the repository at this point in the history
  • Loading branch information
Thijzer committed Nov 22, 2023
1 parent 99d7bb9 commit 6385a52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Component/Converter/Akeneo/Csv/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ public function revert(array $item): array
if (isset($item['enabled'])) {
$output['enabled'] = $item['enabled'];
}
if (array_key_exists($item['family'])) {
if (array_key_exists('family', $item)) {
$output['family'] = $item['family'];
}
if (array_key_exists($item['categories'])) {
if (array_key_exists('categories', $item)) {
$output['categories'] = $item['categories'];
}
if (array_key_exists($item['parent'])) {
if (array_key_exists('parent', $item)) {
$output['parent'] = $item['parent'];
}
$output = $this->decoder->decode($output);
Expand Down

0 comments on commit 6385a52

Please sign in to comment.