Passed
Push — master ( 35c862...91e5e7 )
by Aimeos
02:30
created
controller/jobs/src/Controller/Jobs/Product/Import/Csv/Standard.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -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.