|
@@ -573,9 +573,11 @@ |
|
|
block discarded – undo |
|
573
|
573
|
|
|
574
|
574
|
$map = $this->getMappedChunk( $list, $mapping ); |
|
575
|
575
|
|
|
576
|
|
- if( isset( $map[0] ) ) // there can only be one chunk for the base product data |
|
|
576
|
+ if( isset( $map[0] ) ) { |
|
|
577
|
+ // there can only be one chunk for the base product data |
|
577
|
578
|
{ |
|
578
|
579
|
$product = $product->fromArray( $map[0], true ); |
|
|
580
|
+ } |
|
579
|
581
|
$type = $this->checkType( $this->getValue( $map[0], 'product.type', $product->getType() ) ); |
|
580
|
582
|
|
|
581
|
583
|
$product = $manager->saveItem( $product->setType( $type ) ); |
Please login to merge, or discard this patch.