Passed
Pull Request — master (#193)
by
unknown
03:23 queued 40s
created
templates/client/html/catalog/detail/body.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -50,19 +50,19 @@
 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' ) && is_numeric($this->param( 'productId' ))):
53
+		// preselection of a variant product in a selection article
54
+		$preSelectVariantAttributes = '';
55
+		if ($this->param( 'productId' ) && is_numeric($this->param( 'productId' ))):
56 56
 
57
-            if(($listItem = $this->detailProductItem->getListItem( 'product', 'default', (int) $this->param( 'productId' ))) && ( $product = $listItem->getRefItem() ) )
57
+			if(($listItem = $this->detailProductItem->getListItem( 'product', 'default', (int) $this->param( 'productId' ))) && ( $product = $listItem->getRefItem() ) )
58 58
 
59
-                    $attributes = $product->getRefItems('attribute',null,'variant');
59
+					$attributes = $product->getRefItems('attribute',null,'variant');
60 60
 
61
-                    foreach($attributes as $attribId => $attribute):
62
-                        $preSelectVariantAttributes[$attribute->getType()] =  $attribute->getId();
63
-                    endforeach;
61
+					foreach($attributes as $attribId => $attribute):
62
+						$preSelectVariantAttributes[$attribute->getType()] =  $attribute->getId();
63
+					endforeach;
64 64
 
65
-        endif;
65
+		endif;
66 66
 
67 67
 ?>
68 68
 
Please login to merge, or discard this patch.