Skip to content

Commit

Permalink
fix: converter fallback default props
Browse files Browse the repository at this point in the history
  • Loading branch information
Thijzer committed Oct 25, 2023
1 parent faca530 commit 0878134
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Component/Converter/Akeneo/Csv/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ public function revert(array $item): array

$output = [];
$output['sku'] = $item['sku'] ?? $item['identifier'] ?? null;
$output['enabled'] = $item['enabled'];
$output['family'] = $item['family'];
$output['categories'] = $item['categories'];
$output['parent'] = $item['parent'];
$output['enabled'] = $item['enabled'] ?? null;
$output['family'] = $item['family'] ?? null;
$output['categories'] = $item['categories'] ?? null;
$output['parent'] = $item['parent'] ?? null;
$output = $this->decoder->decode($output);

foreach ($item as $key => $itemValue) {
Expand Down

0 comments on commit 0878134

Please sign in to comment.