Passed
Pull Request — master (#193)
by
unknown
03:56
created
templates/client/html/catalog/detail/body.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -50,15 +50,15 @@
 block discarded – undo
50 50
 ?>
51 51
 <?php if( isset( $this->detailProductItem ) ) : 
52 52
 
53
-        // preselection of a variant product in a selection article
54
-        $preSelectVariantAttributes = [];
55
-        if ($this->param( 'productId' )):
53
+		// preselection of a variant product in a selection article
54
+		$preSelectVariantAttributes = [];
55
+		if ($this->param( 'productId' )):
56 56
 
57
-            if(($listItem = $this->detailProductItem->getListItem( 'product', 'default', $this->param( 'productId' ))) && ( $product = $listItem->getRefItem() ) ):
58
-                 $preSelectVariantAttributes = $product->getRefItems( 'attribute', null, 'variant' )->col( 'attribute.id', 'attribute.type' );
59
-            endif;
57
+			if(($listItem = $this->detailProductItem->getListItem( 'product', 'default', $this->param( 'productId' ))) && ( $product = $listItem->getRefItem() ) ):
58
+				 $preSelectVariantAttributes = $product->getRefItems( 'attribute', null, 'variant' )->col( 'attribute.id', 'attribute.type' );
59
+			endif;
60 60
 
61
-        endif;
61
+		endif;
62 62
 
63 63
 ?>
64 64
 
Please login to merge, or discard this patch.