Completed
Push — master ( b384ce...7658b0 )
by Aimeos
05:56
created
client/html/templates/catalog/detail/seen-body-default.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,9 +119,12 @@
 block discarded – undo
119 119
 <?php	$mediaItems = $productItem->getRefItems( 'media', 'default', 'default' ); ?>
120 120
 <?php	if( ( $mediaItem = reset( $mediaItems ) ) !== false ) : ?>
121 121
 				<div class="media-item" style="background-image: url('<?php echo $this->content( $mediaItem->getPreview() ); ?>')"></div>
122
-<?php	else : ?>
122
+<?php	else {
123
+    : ?>
123 124
 				<div class="media-item"></div>
124
-<?php	endif; ?>
125
+<?php	endif;
126
+}
127
+?>
125 128
 				<h3 class="name"><?php echo $enc->html( $productItem->getName(), $enc::TRUST ); ?></h3>
126 129
 				<div class="price-list">
127 130
 <?php			echo $this->partial( $this->config( 'client/html/common/partials/price', 'common/partials/price-default.php' ), array( 'prices' => $productItem->getRefItems( 'price', null, 'default' ) ) ); ?>
Please login to merge, or discard this patch.
client/html/templates/catalog/detail/bought-body-default.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,9 +32,12 @@
 block discarded – undo
32 32
 				<div class="media-item" style="background-image: url('<?php echo $mediaUrl; ?>')" itemscope="" itemtype="http://schema.org/ImageObject">
33 33
 					<meta itemprop="contentUrl" content="<?php echo $mediaUrl; ?>" />
34 34
 				</div>
35
-<?php			else : ?>
35
+<?php			else {
36
+    : ?>
36 37
 				<div class="media-item"></div>
37
-<?php			endif; ?>
38
+<?php			endif;
39
+}
40
+?>
38 41
 				<h3 class="name" itemprop="name"><?php echo $enc->html( $productItem->getName(), $enc::TRUST ); ?></h3>
39 42
 				<div class="price-list" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
40 43
 <?php			echo $this->partial( $this->config( 'client/html/common/partials/price', 'common/partials/price-default.php' ), array( 'prices' => $productItem->getRefItems( 'price', null, 'default' ) ) ); ?>
Please login to merge, or discard this patch.