Passed
Pull Request — master (#198)
by
unknown
09:57
created
src/Client/Html/Base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -384,7 +384,7 @@
 block discarded – undo
384 384
 		$domain = str_replace( '/', '_', $item->getResourceType() ); // maximum compatiblity
385 385
 
386 386
 		if( in_array( $item->getResourceType(), ['catalog', 'product', 'supplier'] ) ) {
387
-			$tags[] = $tagAll ? $domain . '-' . $item->getId() : $domain ;
387
+			$tags[] = $tagAll ? $domain . '-' . $item->getId() : $domain;
388 388
 		}
389 389
 
390 390
 		if( $item instanceof \Aimeos\MShop\Common\Item\Time\Iface && ( $date = $item->getDateEnd() ) !== null ) {
Please login to merge, or discard this patch.
templates/client/html/catalog/detail/body.php 1 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.