Passed
Pull Request — master (#198)
by
unknown
09:57
created
templates/client/html/catalog/detail/body.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,10 +51,10 @@
 block discarded – undo
51 51
 	&& ( $articleId = $this->param( 'd_articleid' ) )
52 52
 ) {
53 53
 	foreach($this->detailProductItem->getListItems( 'product', 'default' ) as $listItem) :
54
-           if($product = $listItem->getRefItem()) :
55
-             $varAttr[$product->getId()] = $product->getRefItems( 'attribute', null, 'variant' )->col( 'attribute.id', 'attribute.type' );
56
-           endif;
57
-        endforeach;
54
+		   if($product = $listItem->getRefItem()) :
55
+			 $varAttr[$product->getId()] = $product->getRefItems( 'attribute', null, 'variant' )->col( 'attribute.id', 'attribute.type' );
56
+		   endif;
57
+		endforeach;
58 58
 
59 59
 }
60 60
 ?>
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@
 block discarded – undo
50 50
 if( isset( $this->detailProductItem )
51 51
 	&& ( $articleId = $this->param( 'd_articleid' ) )
52 52
 ) {
53
-	foreach($this->detailProductItem->getListItems( 'product', 'default' ) as $listItem) :
54
-           if($product = $listItem->getRefItem()) :
53
+	foreach( $this->detailProductItem->getListItems( 'product', 'default' ) as $listItem ) :
54
+           if( $product = $listItem->getRefItem() ) :
55 55
              $varAttr[$product->getId()] = $product->getRefItems( 'attribute', null, 'variant' )->col( 'attribute.id', 'attribute.type' );
56 56
            endif;
57 57
         endforeach;
Please login to merge, or discard this patch.